You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

25 lines
547 B

/// <reference types="yargs" />
import { yargs } from '../index';
interface IOpts {
cwd: string;
args: yargs.Arguments;
}
declare class Generator {
cwd: string;
args: yargs.Arguments;
constructor({ cwd, args }: IOpts);
run(): Promise<void>;
writing(): Promise<void>;
copyTpl(opts: {
templatePath: string;
target: string;
context: object;
}): void;
copyDirectory(opts: {
path: string;
context: object;
target: string;
}): void;
}
export default Generator;