create-varan-app
Version:
Create varan app command line utility
19 lines (18 loc) • 491 B
TypeScript
import Listr from 'listr';
export interface Options {
name: string;
example?: string;
fromGitRepo: string;
verbose: boolean;
appDir: string;
}
export interface ContextWithTarballSource {
varanLatestVersion: string;
varanSourceBranch: string;
}
export default function init(options: Partial<Options> & Pick<Options, 'name'>): Promise<{
context: ContextWithTarballSource;
tasks: Listr<ContextWithTarballSource>;
appDir: string;
appName: string;
}>;