import { Application } from '../Application'; import { BaseCommand } from '@tngraphql/console'; /** * (c) Phan Trung Nguyên * User: nguyenpl117 * Date: 3/14/2020 * Time: 8:00 PM * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ export declare abstract class GeneratorCommand extends BaseCommand { application: Application; /** * Get the stub file for the generator. * * @return string */ protected abstract getStub(): string; protected abstract getSuffix(): string; name: string; protected fileOptions(): { suffix: string; }; /** * Execute the console command. * * @return bool|null */ handle(...args: any[]): Promise; generateFile(filePath: any, template: any, options: any): Promise; getDestinationPath(): string; alreadyExists(rawName: string): Promise; put(filepath: any, contents: any): Promise; /** * Build the class with the given name. * */ buildClass(name: string): string; }