1 | import * as cli from '@rushstack/ts-command-line';
|
2 | import type { Umzug } from './umzug';
|
3 | export declare class UpAction extends cli.CommandLineAction {
|
4 | protected umzug: Umzug;
|
5 | private _params;
|
6 | constructor(umzug: Umzug);
|
7 | private static _defineParameters;
|
8 | onDefineParameters(): void;
|
9 | onExecute(): Promise<void>;
|
10 | }
|
11 | export declare class DownAction extends cli.CommandLineAction {
|
12 | protected umzug: Umzug;
|
13 | private _params;
|
14 | constructor(umzug: Umzug);
|
15 | private static _defineParameters;
|
16 | onDefineParameters(): void;
|
17 | onExecute(): Promise<void>;
|
18 | }
|
19 | export declare class ListAction extends cli.CommandLineAction {
|
20 | private readonly action;
|
21 | private readonly umzug;
|
22 | private _params;
|
23 | constructor(action: 'pending' | 'executed', umzug: Umzug);
|
24 | private static _defineParameters;
|
25 | onDefineParameters(): void;
|
26 | onExecute(): Promise<void>;
|
27 | }
|
28 | export declare class CreateAction extends cli.CommandLineAction {
|
29 | readonly umzug: Umzug;
|
30 | private _params;
|
31 | constructor(umzug: Umzug);
|
32 | private static _defineParameters;
|
33 | onDefineParameters(): void;
|
34 | onExecute(): Promise<void>;
|
35 | }
|
36 | export type CommandLineParserOptions = {
|
37 | toolFileName?: string;
|
38 | toolDescription?: string;
|
39 | };
|
40 | export declare class UmzugCLI extends cli.CommandLineParser {
|
41 | readonly umzug: Umzug;
|
42 | constructor(umzug: Umzug, commandLineParserOptions?: CommandLineParserOptions);
|
43 | onDefineParameters(): void;
|
44 | }
|