update-impl.d.ts 726 B

123456789101112131415
  1. import { Arguments, Option } from '../models/interface';
  2. import { SchematicCommand } from '../models/schematic-command';
  3. import { Schema as UpdateCommandSchema } from './update';
  4. export declare class UpdateCommand extends SchematicCommand<UpdateCommandSchema> {
  5. readonly allowMissingWorkspace = true;
  6. private readonly packageManager;
  7. parseArguments(_schematicOptions: string[], _schema: Option[]): Promise<Arguments>;
  8. run(options: UpdateCommandSchema & Arguments): Promise<number | void>;
  9. checkCleanGit(): boolean;
  10. /**
  11. * Checks if the current installed CLI version is older than the latest version.
  12. * @returns `true` when the installed version is older.
  13. */
  14. private checkCLILatestVersion;
  15. }