start.d.ts 1.7 KB

1234567891011121314151617181920212223242526
  1. import { CommandInstanceInfo, CommandLineInputs, CommandLineOptions, CommandMetadata, CommandPreRun, ResolvedStarterTemplate, StarterManifest } from '../definitions';
  2. import { Command } from '../lib/command';
  3. export 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. /**
  10. * Check if we should use the wizard for the start command.
  11. * We should use if they ran `ionic start` or `ionic start --capacitor`
  12. * and they are in an interactive environment.
  13. */
  14. shouldUseStartWizard(inputs: CommandLineInputs, options: CommandLineOptions): Promise<boolean | "" | null | undefined>;
  15. preRun(inputs: CommandLineInputs, options: CommandLineOptions): Promise<void>;
  16. getProjectType(): Promise<string>;
  17. run(inputs: CommandLineInputs, options: CommandLineOptions, runinfo: CommandInstanceInfo): Promise<void>;
  18. checkForExisting(projectDir: string): Promise<void>;
  19. findStarterTemplate(template: string, type: string, tag: string): Promise<ResolvedStarterTemplate>;
  20. validateProjectType(type: string): Promise<void>;
  21. validateProjectId(projectId: string): Promise<void>;
  22. loadManifest(manifestPath: string): Promise<StarterManifest | undefined>;
  23. performManifestOps(manifest: StarterManifest): Promise<void>;
  24. downloadStarterTemplate(projectDir: string, starterTemplate: ResolvedStarterTemplate): Promise<void>;
  25. showNextSteps(projectDir: string, cloned: boolean, linkConfirmed: boolean, isCapacitor: boolean): Promise<void>;
  26. }