UNPKG

1.37 kBTypeScriptView Raw
1import { CommandInstanceInfo, CommandLineInputs, CommandLineOptions, CommandMetadata, CommandPreRun, ResolvedStarterTemplate, StarterManifest } from '../definitions';
2import { Command } from '../lib/command';
3export declare class StartCommand extends Command implements CommandPreRun {
4 private canRemoveExisting;
5 private schema?;
6 getMetadata(): Promise<CommandMetadata>;
7 startIdStart(inputs: CommandLineInputs, options: CommandLineOptions): Promise<void>;
8 startIdConvert(id: string): Promise<void>;
9 preRun(inputs: CommandLineInputs, options: CommandLineOptions): Promise<void>;
10 getProjectType(): Promise<string>;
11 run(inputs: CommandLineInputs, options: CommandLineOptions, runinfo: CommandInstanceInfo): Promise<void>;
12 checkForExisting(projectDir: string): Promise<void>;
13 findStarterTemplate(template: string, type: string, tag: string): Promise<ResolvedStarterTemplate>;
14 validateProjectType(type: string): Promise<void>;
15 validateProjectId(projectId: string): Promise<void>;
16 loadManifest(manifestPath: string): Promise<StarterManifest | undefined>;
17 performManifestOps(manifest: StarterManifest): Promise<void>;
18 downloadStarterTemplate(projectDir: string, starterTemplate: ResolvedStarterTemplate): Promise<void>;
19 showNextSteps(projectDir: string, cloned: boolean, linkConfirmed: boolean): Promise<void>;
20}