@cenk1cenk2/oclif-common 3.7.0 → 3.7.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +2 -2
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -332,7 +332,7 @@ declare class Command<Ctx extends ListrContext = ListrContext, Flags extends Rec
|
|
|
332
332
|
* Deconstruct the class if you dont want to extend finally or catch.
|
|
333
333
|
*/
|
|
334
334
|
shouldRunAfter(_ctx?: Ctx): void | Promise<void>;
|
|
335
|
-
run
|
|
335
|
+
run(): Promise<any>;
|
|
336
336
|
_run<T>(): Promise<T | undefined>;
|
|
337
337
|
exit(code?: number): void;
|
|
338
338
|
/** Run all tasks from task manager. */
|
|
@@ -382,7 +382,7 @@ declare class ConfigCommand<CommandChoices extends string = string, LockFile = a
|
|
|
382
382
|
annotation(text: string, annotation: string): void;
|
|
383
383
|
flush(ms?: number): Promise<void>;
|
|
384
384
|
};
|
|
385
|
-
run
|
|
385
|
+
run(): Promise<any>;
|
|
386
386
|
setup(): ConfigCommandSetup<CommandChoices, LockFile> | Promise<ConfigCommandSetup<CommandChoices, LockFile>>;
|
|
387
387
|
protected table(...options: Parameters<typeof CliUx.ux.table>): void;
|
|
388
388
|
protected select(): Promise<string>;
|
package/dist/index.js
CHANGED
|
@@ -1040,7 +1040,7 @@ var Command = class extends import_core3.Command {
|
|
|
1040
1040
|
this.args = {};
|
|
1041
1041
|
}
|
|
1042
1042
|
static get globalFlags() {
|
|
1043
|
-
return { CLI_FLAGS, ...this._globalFlags };
|
|
1043
|
+
return { ...CLI_FLAGS, ...this._globalFlags };
|
|
1044
1044
|
}
|
|
1045
1045
|
static set globalFlags(flags) {
|
|
1046
1046
|
this._globalFlags = Object.assign({}, this.globalFlags, flags);
|