UNPKG

1.04 kBTypeScriptView Raw
1import { Command } from '../models/command';
2import { Arguments } from '../models/interface';
3import { Schema as UpdateCommandSchema } from './update';
4export declare class UpdateCommand extends Command<UpdateCommandSchema> {
5 readonly allowMissingWorkspace = true;
6 private workflow;
7 private packageManager;
8 initialize(): Promise<void>;
9 private executeSchematic;
10 /**
11 * @return Whether or not the migration was performed successfully.
12 */
13 private executeMigration;
14 /**
15 * @return Whether or not the migrations were performed successfully.
16 */
17 private executeMigrations;
18 private executePackageMigrations;
19 run(options: UpdateCommandSchema & Arguments): Promise<number>;
20 /**
21 * @return Whether or not the commit was successful.
22 */
23 private commit;
24 private checkCleanGit;
25 /**
26 * Checks if the current installed CLI version is older than the latest version.
27 * @returns `true` when the installed version is older.
28 */
29 private checkCLILatestVersion;
30}