@mittwald/cli 1.5.1 → 1.7.0
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/README.md +1 -1
- package/dist/commands/app/dependency/list.d.ts +1 -0
- package/dist/commands/app/dependency/versions.d.ts +1 -0
- package/dist/commands/app/get.js +1 -2
- package/dist/commands/app/list-upgrade-candidates.d.ts +1 -0
- package/dist/commands/app/list.d.ts +1 -0
- package/dist/commands/app/upgrade.d.ts +14 -0
- package/dist/commands/app/upgrade.js +35 -22
- package/dist/commands/backup/delete.d.ts +1 -0
- package/dist/commands/backup/get.js +1 -2
- package/dist/commands/backup/list.d.ts +1 -0
- package/dist/commands/backup/schedule/list.d.ts +1 -0
- package/dist/commands/container/delete.d.ts +1 -0
- package/dist/commands/container/exec.d.ts +25 -0
- package/dist/commands/container/exec.js +93 -0
- package/dist/commands/container/list.d.ts +1 -0
- package/dist/commands/container/logs.d.ts +1 -0
- package/dist/commands/container/port-forward.d.ts +20 -0
- package/dist/commands/container/port-forward.js +68 -0
- package/dist/commands/container/run.d.ts +12 -0
- package/dist/commands/container/run.js +27 -8
- package/dist/commands/container/ssh.d.ts +17 -0
- package/dist/commands/container/ssh.js +61 -0
- package/dist/commands/conversation/categories.d.ts +1 -0
- package/dist/commands/conversation/create.d.ts +1 -0
- package/dist/commands/conversation/list.d.ts +1 -0
- package/dist/commands/conversation/reply.d.ts +1 -0
- package/dist/commands/cronjob/delete.d.ts +1 -0
- package/dist/commands/cronjob/execution/get.d.ts +1 -1
- package/dist/commands/cronjob/execution/list.d.ts +1 -0
- package/dist/commands/cronjob/execution/logs.d.ts +1 -0
- package/dist/commands/cronjob/get.js +1 -2
- package/dist/commands/cronjob/list.d.ts +1 -0
- package/dist/commands/database/list.d.ts +1 -0
- package/dist/commands/database/mysql/charsets.d.ts +1 -0
- package/dist/commands/database/mysql/delete.d.ts +1 -0
- package/dist/commands/database/mysql/get.d.ts +1 -1
- package/dist/commands/database/mysql/list.d.ts +1 -0
- package/dist/commands/database/mysql/user/delete.d.ts +1 -0
- package/dist/commands/database/mysql/user/get.d.ts +1 -1
- package/dist/commands/database/mysql/user/list.d.ts +1 -0
- package/dist/commands/database/mysql/versions.d.ts +1 -0
- package/dist/commands/database/redis/get.d.ts +1 -1
- package/dist/commands/database/redis/list.d.ts +1 -0
- package/dist/commands/database/redis/versions.d.ts +1 -0
- package/dist/commands/domain/dnszone/get.js +1 -2
- package/dist/commands/domain/dnszone/list.d.ts +1 -0
- package/dist/commands/domain/dnszone/update.js +3 -2
- package/dist/commands/domain/get.js +1 -2
- package/dist/commands/domain/list.d.ts +1 -0
- package/dist/commands/domain/virtualhost/delete.d.ts +1 -0
- package/dist/commands/domain/virtualhost/get.js +1 -2
- package/dist/commands/domain/virtualhost/list.d.ts +1 -0
- package/dist/commands/extension/list-installed.d.ts +1 -0
- package/dist/commands/extension/list.d.ts +1 -0
- package/dist/commands/mail/address/delete.d.ts +1 -0
- package/dist/commands/mail/address/get.d.ts +1 -1
- package/dist/commands/mail/address/list.d.ts +1 -0
- package/dist/commands/mail/deliverybox/delete.d.ts +1 -0
- package/dist/commands/mail/deliverybox/get.d.ts +1 -1
- package/dist/commands/mail/deliverybox/list.d.ts +1 -0
- package/dist/commands/org/delete.d.ts +1 -0
- package/dist/commands/org/get.js +1 -2
- package/dist/commands/org/invite/list-own.d.ts +1 -0
- package/dist/commands/org/invite/list.d.ts +1 -0
- package/dist/commands/org/list.d.ts +1 -0
- package/dist/commands/org/membership/list-own.d.ts +1 -0
- package/dist/commands/org/membership/list.d.ts +1 -0
- package/dist/commands/project/delete.d.ts +1 -0
- package/dist/commands/project/filesystem/usage.js +1 -2
- package/dist/commands/project/get.js +1 -2
- package/dist/commands/project/invite/get.d.ts +1 -1
- package/dist/commands/project/invite/list-own.d.ts +1 -0
- package/dist/commands/project/invite/list.d.ts +1 -0
- package/dist/commands/project/list.d.ts +1 -0
- package/dist/commands/project/membership/get-own.d.ts +1 -0
- package/dist/commands/project/membership/get.d.ts +1 -1
- package/dist/commands/project/membership/list-own.d.ts +1 -0
- package/dist/commands/project/membership/list.d.ts +1 -0
- package/dist/commands/registry/delete.d.ts +1 -0
- package/dist/commands/registry/list.d.ts +1 -0
- package/dist/commands/server/get.d.ts +1 -1
- package/dist/commands/server/list.d.ts +1 -0
- package/dist/commands/sftp-user/delete.d.ts +1 -0
- package/dist/commands/sftp-user/list.d.ts +1 -0
- package/dist/commands/ssh-user/delete.d.ts +1 -0
- package/dist/commands/ssh-user/list.d.ts +1 -0
- package/dist/commands/stack/delete.d.ts +1 -0
- package/dist/commands/stack/deploy.js +1 -8
- package/dist/commands/stack/list.d.ts +1 -0
- package/dist/commands/stack/ps.d.ts +1 -0
- package/dist/commands/stack/ps.js +1 -1
- package/dist/commands/user/api-token/get.d.ts +1 -1
- package/dist/commands/user/api-token/list.d.ts +1 -0
- package/dist/commands/user/api-token/revoke.d.ts +1 -0
- package/dist/commands/user/get.d.ts +1 -1
- package/dist/commands/user/session/get.d.ts +1 -1
- package/dist/commands/user/session/list.d.ts +1 -0
- package/dist/commands/user/ssh-key/delete.d.ts +1 -0
- package/dist/commands/user/ssh-key/get.d.ts +1 -1
- package/dist/commands/user/ssh-key/list.d.ts +1 -0
- package/dist/lib/basecommands/BaseCommand.d.ts +7 -5
- package/dist/lib/basecommands/BaseCommand.js +26 -8
- package/dist/lib/basecommands/CommandFlags.d.ts +3 -3
- package/dist/lib/basecommands/CoreBaseCommand.d.ts +12 -0
- package/dist/lib/basecommands/CoreBaseCommand.js +16 -0
- package/dist/lib/basecommands/DeleteBaseCommand.d.ts +1 -0
- package/dist/lib/basecommands/DeleteBaseCommand.js +1 -0
- package/dist/lib/basecommands/ExecRenderBaseCommand.d.ts +3 -0
- package/dist/lib/basecommands/ExecRenderBaseCommand.js +3 -0
- package/dist/lib/basecommands/ExtendedBaseCommand.d.ts +3 -0
- package/dist/lib/basecommands/ExtendedBaseCommand.js +3 -0
- package/dist/lib/basecommands/GetBaseCommand.d.ts +1 -1
- package/dist/lib/basecommands/GetBaseCommand.js +1 -0
- package/dist/lib/basecommands/ListBaseCommand.d.ts +1 -0
- package/dist/lib/basecommands/ListBaseCommand.js +1 -0
- package/dist/lib/basecommands/UnauthenticatedBaseCommand.d.ts +10 -0
- package/dist/lib/basecommands/UnauthenticatedBaseCommand.js +16 -0
- package/dist/lib/error/NoTokenFoundError.d.ts +11 -0
- package/dist/lib/error/NoTokenFoundError.js +13 -0
- package/dist/lib/resources/ssh/container.d.ts +3 -0
- package/dist/lib/resources/ssh/container.js +29 -0
- package/dist/lib/resources/stack/enrich.d.ts +2 -2
- package/dist/lib/resources/stack/enrich.js +1 -31
- package/dist/lib/units/PortMapping.d.ts +11 -0
- package/dist/lib/units/PortMapping.js +38 -0
- package/dist/lib/units/PortMapping.test.d.ts +1 -0
- package/dist/lib/units/PortMapping.test.js +28 -0
- package/dist/rendering/react/components/ErrorBox.js +4 -0
- package/package.json +67 -19
|
@@ -14,6 +14,7 @@ export default class Categories extends ListBaseCommand<typeof Categories, Respo
|
|
|
14
14
|
"no-truncate": import("@oclif/core/interfaces").BooleanFlag<boolean>;
|
|
15
15
|
"no-relative-dates": import("@oclif/core/interfaces").BooleanFlag<boolean>;
|
|
16
16
|
"csv-separator": import("@oclif/core/interfaces").OptionFlag<"," | ";">;
|
|
17
|
+
token: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
17
18
|
};
|
|
18
19
|
getData(): Promise<Response>;
|
|
19
20
|
protected getColumns(): ListColumns<ResponseItem>;
|
|
@@ -7,6 +7,7 @@ export default class Create extends BaseCommand {
|
|
|
7
7
|
message: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
8
8
|
"message-from": import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
9
9
|
editor: import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
|
|
10
|
+
token: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
10
11
|
};
|
|
11
12
|
private getCategoryId;
|
|
12
13
|
run(): Promise<void>;
|
|
@@ -14,6 +14,7 @@ export default class List extends ListBaseCommand<typeof List, ResponseItem, Res
|
|
|
14
14
|
"no-truncate": import("@oclif/core/interfaces").BooleanFlag<boolean>;
|
|
15
15
|
"no-relative-dates": import("@oclif/core/interfaces").BooleanFlag<boolean>;
|
|
16
16
|
"csv-separator": import("@oclif/core/interfaces").OptionFlag<"," | ";">;
|
|
17
|
+
token: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
17
18
|
};
|
|
18
19
|
getData(): Promise<Response>;
|
|
19
20
|
protected getColumns(): ListColumns<ResponseItem>;
|
|
@@ -8,6 +8,7 @@ export default class Reply extends ExtendedBaseCommand<typeof Reply> {
|
|
|
8
8
|
message: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
9
9
|
"message-from": import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
10
10
|
editor: import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
|
|
11
|
+
token: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
11
12
|
};
|
|
12
13
|
run(): Promise<void>;
|
|
13
14
|
}
|
|
@@ -5,6 +5,7 @@ export default class Delete extends DeleteBaseCommand<typeof Delete> {
|
|
|
5
5
|
static flags: {
|
|
6
6
|
force: import("@oclif/core/interfaces").BooleanFlag<boolean>;
|
|
7
7
|
quiet: import("@oclif/core/interfaces").BooleanFlag<boolean>;
|
|
8
|
+
token: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
8
9
|
};
|
|
9
10
|
static args: {
|
|
10
11
|
"cronjob-id": import("@oclif/core/interfaces").Arg<string, Record<string, unknown>>;
|
|
@@ -6,7 +6,7 @@ export declare class Get extends GetBaseCommand<typeof Get, APIResponse> {
|
|
|
6
6
|
static aliases: string[];
|
|
7
7
|
static deprecateAliases: boolean;
|
|
8
8
|
static flags: {
|
|
9
|
-
|
|
9
|
+
token: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
10
10
|
};
|
|
11
11
|
static args: {
|
|
12
12
|
"cronjob-id": import("@oclif/core/interfaces").Arg<string, Record<string, unknown>>;
|
|
@@ -17,6 +17,7 @@ export declare class List extends ListBaseCommand<typeof List, ResponseItem, Res
|
|
|
17
17
|
"no-truncate": import("@oclif/core/interfaces").BooleanFlag<boolean>;
|
|
18
18
|
"no-relative-dates": import("@oclif/core/interfaces").BooleanFlag<boolean>;
|
|
19
19
|
"csv-separator": import("@oclif/core/interfaces").OptionFlag<"," | ";">;
|
|
20
|
+
token: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
20
21
|
};
|
|
21
22
|
getData(): Promise<Response>;
|
|
22
23
|
protected getColumns(): ListColumns<ResponseItem>;
|
|
@@ -8,6 +8,7 @@ export declare class Logs extends BaseCommand {
|
|
|
8
8
|
static deprecateAliases: boolean;
|
|
9
9
|
static flags: {
|
|
10
10
|
"no-pager": import("@oclif/core/interfaces").BooleanFlag<boolean>;
|
|
11
|
+
token: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
11
12
|
};
|
|
12
13
|
static args: {
|
|
13
14
|
"cronjob-id": import("@oclif/core/interfaces").Arg<string, Record<string, unknown>>;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
import { GetBaseCommand } from "../../lib/basecommands/GetBaseCommand.js";
|
|
3
2
|
import { Args } from "@oclif/core";
|
|
4
3
|
import { RenderBaseCommand } from "../../lib/basecommands/RenderBaseCommand.js";
|
|
5
4
|
import { ComponentPrinter } from "../../rendering/react/ComponentPrinter.js";
|
|
@@ -10,7 +9,7 @@ import { CronJobDetails } from "../../rendering/react/components/CronJob/CronJob
|
|
|
10
9
|
import { GetFormatter } from "../../rendering/formatter/GetFormatter.js";
|
|
11
10
|
export class Get extends RenderBaseCommand {
|
|
12
11
|
static description = "Get details of a cron job";
|
|
13
|
-
static flags = { ...
|
|
12
|
+
static flags = { ...RenderBaseCommand.buildFlags() };
|
|
14
13
|
static args = {
|
|
15
14
|
"cronjob-id": Args.string({
|
|
16
15
|
description: "ID of the cron job to be retrieved.",
|
|
@@ -17,6 +17,7 @@ export declare class List extends ListBaseCommand<typeof List, ResponseItem, Res
|
|
|
17
17
|
"no-truncate": import("@oclif/core/interfaces").BooleanFlag<boolean>;
|
|
18
18
|
"no-relative-dates": import("@oclif/core/interfaces").BooleanFlag<boolean>;
|
|
19
19
|
"csv-separator": import("@oclif/core/interfaces").OptionFlag<"," | ";">;
|
|
20
|
+
token: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
20
21
|
};
|
|
21
22
|
getData(): Promise<Response>;
|
|
22
23
|
protected getColumns(data: ResponseItem[]): ListColumns<ResponseItem>;
|
|
@@ -23,6 +23,7 @@ export declare class List extends ListBaseCommand<typeof List, ResponseItem, Res
|
|
|
23
23
|
"no-truncate": import("@oclif/core/interfaces").BooleanFlag<boolean>;
|
|
24
24
|
"no-relative-dates": import("@oclif/core/interfaces").BooleanFlag<boolean>;
|
|
25
25
|
"csv-separator": import("@oclif/core/interfaces").OptionFlag<"," | ";">;
|
|
26
|
+
token: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
26
27
|
};
|
|
27
28
|
getData(): Promise<ResponseItem[]>;
|
|
28
29
|
protected getColumns(ignoredData: ResponseItem[]): ListColumns<ResponseItem>;
|
|
@@ -14,6 +14,7 @@ export declare class Charsets extends ListBaseCommand<typeof Charsets, ResponseI
|
|
|
14
14
|
"no-truncate": import("@oclif/core/interfaces").BooleanFlag<boolean>;
|
|
15
15
|
"no-relative-dates": import("@oclif/core/interfaces").BooleanFlag<boolean>;
|
|
16
16
|
"csv-separator": import("@oclif/core/interfaces").OptionFlag<"," | ";">;
|
|
17
|
+
token: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
17
18
|
};
|
|
18
19
|
protected sorter: (a: ResponseItem, b: ResponseItem) => number;
|
|
19
20
|
getData(): Promise<Response>;
|
|
@@ -5,6 +5,7 @@ export default class Delete extends DeleteBaseCommand<typeof Delete> {
|
|
|
5
5
|
static flags: {
|
|
6
6
|
force: import("@oclif/core/interfaces").BooleanFlag<boolean>;
|
|
7
7
|
quiet: import("@oclif/core/interfaces").BooleanFlag<boolean>;
|
|
8
|
+
token: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
8
9
|
};
|
|
9
10
|
static args: {
|
|
10
11
|
"database-id": import("@oclif/core/interfaces").Arg<string, Record<string, unknown>>;
|
|
@@ -5,7 +5,7 @@ type APIResponse = Awaited<ReturnType<MittwaldAPIV2Client["database"]["getMysqlD
|
|
|
5
5
|
export declare abstract class Get extends GetBaseCommand<typeof Get, APIResponse> {
|
|
6
6
|
static description: string;
|
|
7
7
|
static flags: {
|
|
8
|
-
|
|
8
|
+
token: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
9
9
|
};
|
|
10
10
|
static args: {
|
|
11
11
|
"database-id": import("@oclif/core/interfaces").Arg<string, Record<string, unknown>>;
|
|
@@ -15,6 +15,7 @@ export declare class List extends ListBaseCommand<typeof List, ResponseItem, Res
|
|
|
15
15
|
"no-truncate": import("@oclif/core/interfaces").BooleanFlag<boolean>;
|
|
16
16
|
"no-relative-dates": import("@oclif/core/interfaces").BooleanFlag<boolean>;
|
|
17
17
|
"csv-separator": import("@oclif/core/interfaces").OptionFlag<"," | ";">;
|
|
18
|
+
token: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
18
19
|
};
|
|
19
20
|
getData(): Promise<Response>;
|
|
20
21
|
protected getColumns(ignoredData: ResponseItem[]): ListColumns<ResponseItem>;
|
|
@@ -5,6 +5,7 @@ export default class Delete extends DeleteBaseCommand<typeof Delete> {
|
|
|
5
5
|
static flags: {
|
|
6
6
|
force: import("@oclif/core/interfaces").BooleanFlag<boolean>;
|
|
7
7
|
quiet: import("@oclif/core/interfaces").BooleanFlag<boolean>;
|
|
8
|
+
token: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
8
9
|
};
|
|
9
10
|
static args: {
|
|
10
11
|
"user-id": import("@oclif/core/interfaces").Arg<string, Record<string, unknown>>;
|
|
@@ -4,7 +4,7 @@ type APIResponse = Awaited<ReturnType<MittwaldAPIV2Client["database"]["getMysqlU
|
|
|
4
4
|
export default class Get extends GetBaseCommand<typeof Get, APIResponse> {
|
|
5
5
|
static description: string;
|
|
6
6
|
static flags: {
|
|
7
|
-
|
|
7
|
+
token: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
8
8
|
};
|
|
9
9
|
static args: {
|
|
10
10
|
id: import("@oclif/core/interfaces").Arg<string, Record<string, unknown>>;
|
|
@@ -15,6 +15,7 @@ export declare class List extends ListBaseCommand<typeof List, ResponseItem, Res
|
|
|
15
15
|
"no-truncate": import("@oclif/core/interfaces").BooleanFlag<boolean>;
|
|
16
16
|
"no-relative-dates": import("@oclif/core/interfaces").BooleanFlag<boolean>;
|
|
17
17
|
"csv-separator": import("@oclif/core/interfaces").OptionFlag<"," | ";">;
|
|
18
|
+
token: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
18
19
|
};
|
|
19
20
|
getData(): Promise<Response>;
|
|
20
21
|
protected getColumns(data: ResponseItem[]): ListColumns<ResponseItem>;
|
|
@@ -14,6 +14,7 @@ export declare class Versions extends ListBaseCommand<typeof Versions, ResponseI
|
|
|
14
14
|
"no-truncate": import("@oclif/core/interfaces").BooleanFlag<boolean>;
|
|
15
15
|
"no-relative-dates": import("@oclif/core/interfaces").BooleanFlag<boolean>;
|
|
16
16
|
"csv-separator": import("@oclif/core/interfaces").OptionFlag<"," | ";">;
|
|
17
|
+
token: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
17
18
|
};
|
|
18
19
|
getData(): Promise<Response>;
|
|
19
20
|
protected getColumns(): ListColumns<ResponseItem>;
|
|
@@ -4,7 +4,7 @@ type APIResponse = Awaited<ReturnType<MittwaldAPIV2Client["database"]["getRedisD
|
|
|
4
4
|
export declare class Get extends GetBaseCommand<typeof Get, APIResponse> {
|
|
5
5
|
static description: string;
|
|
6
6
|
static flags: {
|
|
7
|
-
|
|
7
|
+
token: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
8
8
|
};
|
|
9
9
|
static args: {
|
|
10
10
|
id: import("@oclif/core/interfaces").Arg<string, Record<string, unknown>>;
|
|
@@ -15,6 +15,7 @@ export declare class List extends ListBaseCommand<typeof List, ResponseItem, Res
|
|
|
15
15
|
"no-truncate": import("@oclif/core/interfaces").BooleanFlag<boolean>;
|
|
16
16
|
"no-relative-dates": import("@oclif/core/interfaces").BooleanFlag<boolean>;
|
|
17
17
|
"csv-separator": import("@oclif/core/interfaces").OptionFlag<"," | ";">;
|
|
18
|
+
token: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
18
19
|
};
|
|
19
20
|
getData(): Promise<Response>;
|
|
20
21
|
protected getColumns(data: ResponseItem[]): ListColumns<ResponseItem>;
|
|
@@ -15,6 +15,7 @@ export default class Versions extends ListBaseCommand<typeof Versions, ResponseI
|
|
|
15
15
|
"no-truncate": import("@oclif/core/interfaces").BooleanFlag<boolean>;
|
|
16
16
|
"no-relative-dates": import("@oclif/core/interfaces").BooleanFlag<boolean>;
|
|
17
17
|
"csv-separator": import("@oclif/core/interfaces").OptionFlag<"," | ";">;
|
|
18
|
+
token: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
18
19
|
};
|
|
19
20
|
getData(): Promise<Response>;
|
|
20
21
|
protected getColumns(): ListColumns<ResponseItem>;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
import { GetBaseCommand } from "../../../lib/basecommands/GetBaseCommand.js";
|
|
3
2
|
import { RenderBaseCommand } from "../../../lib/basecommands/RenderBaseCommand.js";
|
|
4
3
|
import { dnsZoneArgs, withDnsZoneId, } from "../../../lib/resources/domain/dnszone/flags.js";
|
|
5
4
|
import { assertStatus } from "@mittwald/api-client-commons";
|
|
@@ -9,7 +8,7 @@ import { RenderJson } from "../../../rendering/react/json/RenderJson.js";
|
|
|
9
8
|
export class Get extends RenderBaseCommand {
|
|
10
9
|
static description = "gets a specific zone";
|
|
11
10
|
static flags = {
|
|
12
|
-
...
|
|
11
|
+
...RenderBaseCommand.buildFlags(),
|
|
13
12
|
};
|
|
14
13
|
static args = {
|
|
15
14
|
...dnsZoneArgs,
|
|
@@ -15,6 +15,7 @@ export default class List extends ListBaseCommand<typeof List, ResponseItem, Res
|
|
|
15
15
|
"no-truncate": import("@oclif/core/interfaces").BooleanFlag<boolean>;
|
|
16
16
|
"no-relative-dates": import("@oclif/core/interfaces").BooleanFlag<boolean>;
|
|
17
17
|
"csv-separator": import("@oclif/core/interfaces").OptionFlag<"," | ";">;
|
|
18
|
+
token: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
18
19
|
};
|
|
19
20
|
getData(): Promise<Response>;
|
|
20
21
|
protected getColumns(data: ResponseItem[]): ListColumns<ResponseItem>;
|
|
@@ -6,6 +6,7 @@ import { Success } from "../../../rendering/react/components/Success.js";
|
|
|
6
6
|
import { dnsZoneArgs, withDnsZoneId, } from "../../../lib/resources/domain/dnszone/flags.js";
|
|
7
7
|
import { projectFlags } from "../../../lib/resources/project/flags.js";
|
|
8
8
|
import { assertStatus } from "@mittwald/api-client-commons";
|
|
9
|
+
import assertSuccess from "../../../lib/apiutil/assert_success.js";
|
|
9
10
|
export default class Update extends ExecRenderBaseCommand {
|
|
10
11
|
static description = "Updates a record set of a DNS zone";
|
|
11
12
|
static args = {
|
|
@@ -163,9 +164,9 @@ export default class Update extends ExecRenderBaseCommand {
|
|
|
163
164
|
dnsZoneId,
|
|
164
165
|
recordSet,
|
|
165
166
|
});
|
|
166
|
-
|
|
167
|
+
assertSuccess(r);
|
|
167
168
|
});
|
|
168
|
-
process.complete(_jsx(Success, { children: "DNS record set successfully reset to fully managed." }));
|
|
169
|
+
await process.complete(_jsx(Success, { children: "DNS record set successfully reset to fully managed." }));
|
|
169
170
|
}
|
|
170
171
|
render() {
|
|
171
172
|
return undefined;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
import { GetBaseCommand } from "../../lib/basecommands/GetBaseCommand.js";
|
|
3
2
|
import { RenderBaseCommand } from "../../lib/basecommands/RenderBaseCommand.js";
|
|
4
3
|
import { assertStatus } from "@mittwald/api-client-commons";
|
|
5
4
|
import { usePromise } from "@mittwald/react-use-promise";
|
|
@@ -9,7 +8,7 @@ import { DomainDetails } from "../../rendering/react/components/Domain/DomainDet
|
|
|
9
8
|
export class Get extends RenderBaseCommand {
|
|
10
9
|
static description = "gets a specific domain";
|
|
11
10
|
static flags = {
|
|
12
|
-
...
|
|
11
|
+
...RenderBaseCommand.buildFlags(),
|
|
13
12
|
};
|
|
14
13
|
static args = {
|
|
15
14
|
...domainArgs,
|
|
@@ -15,6 +15,7 @@ export declare class List extends ListBaseCommand<typeof List, ResponseItem, Res
|
|
|
15
15
|
"no-truncate": import("@oclif/core/interfaces").BooleanFlag<boolean>;
|
|
16
16
|
"no-relative-dates": import("@oclif/core/interfaces").BooleanFlag<boolean>;
|
|
17
17
|
"csv-separator": import("@oclif/core/interfaces").OptionFlag<"," | ";">;
|
|
18
|
+
token: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
18
19
|
};
|
|
19
20
|
getData(): Promise<Response>;
|
|
20
21
|
protected getColumns(): ListColumns<ResponseItem>;
|
|
@@ -5,6 +5,7 @@ export default class Delete extends DeleteBaseCommand<typeof Delete> {
|
|
|
5
5
|
static flags: {
|
|
6
6
|
force: import("@oclif/core/interfaces").BooleanFlag<boolean>;
|
|
7
7
|
quiet: import("@oclif/core/interfaces").BooleanFlag<boolean>;
|
|
8
|
+
token: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
8
9
|
};
|
|
9
10
|
static args: {
|
|
10
11
|
"virtual-host-id": import("@oclif/core/interfaces").Arg<string, Record<string, unknown>>;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { jsxs as _jsxs, jsx as _jsx, Fragment as _Fragment } from "react/jsx-runtime";
|
|
2
|
-
import { GetBaseCommand } from "../../../lib/basecommands/GetBaseCommand.js";
|
|
3
2
|
import { Args } from "@oclif/core";
|
|
4
3
|
import { RenderBaseCommand } from "../../../lib/basecommands/RenderBaseCommand.js";
|
|
5
4
|
import { usePromise } from "@mittwald/react-use-promise";
|
|
@@ -53,7 +52,7 @@ const GetIngress = ({ ingress }) => {
|
|
|
53
52
|
};
|
|
54
53
|
export class Get extends RenderBaseCommand {
|
|
55
54
|
static description = "Get a virtual host.";
|
|
56
|
-
static flags = { ...
|
|
55
|
+
static flags = { ...RenderBaseCommand.buildFlags() };
|
|
57
56
|
static args = {
|
|
58
57
|
"ingress-id": Args.string({
|
|
59
58
|
summary: "The ID of the ingress to get.",
|
|
@@ -16,6 +16,7 @@ export declare class List extends ListBaseCommand<typeof List, ResponseItem, Res
|
|
|
16
16
|
"no-truncate": import("@oclif/core/interfaces").BooleanFlag<boolean>;
|
|
17
17
|
"no-relative-dates": import("@oclif/core/interfaces").BooleanFlag<boolean>;
|
|
18
18
|
"csv-separator": import("@oclif/core/interfaces").OptionFlag<"," | ";">;
|
|
19
|
+
token: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
19
20
|
};
|
|
20
21
|
getData(): Promise<Response>;
|
|
21
22
|
protected getColumns(data: ResponseItem[]): ListColumns<ResponseItem>;
|
|
@@ -21,6 +21,7 @@ export declare class ListInstalled extends ListBaseCommand<typeof ListInstalled,
|
|
|
21
21
|
"no-truncate": import("@oclif/core/interfaces").BooleanFlag<boolean>;
|
|
22
22
|
"no-relative-dates": import("@oclif/core/interfaces").BooleanFlag<boolean>;
|
|
23
23
|
"csv-separator": import("@oclif/core/interfaces").OptionFlag<"," | ";">;
|
|
24
|
+
token: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
24
25
|
};
|
|
25
26
|
getData(): Promise<Response>;
|
|
26
27
|
protected mapData(data: SuccessfulResponse<Response, 200>["data"]): Promise<ExtendedResponseItem[]>;
|
|
@@ -14,6 +14,7 @@ export declare class List extends ListBaseCommand<typeof List, ResponseItem, Res
|
|
|
14
14
|
"no-truncate": import("@oclif/core/interfaces").BooleanFlag<boolean>;
|
|
15
15
|
"no-relative-dates": import("@oclif/core/interfaces").BooleanFlag<boolean>;
|
|
16
16
|
"csv-separator": import("@oclif/core/interfaces").OptionFlag<"," | ";">;
|
|
17
|
+
token: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
17
18
|
};
|
|
18
19
|
getData(): Promise<Response>;
|
|
19
20
|
protected getColumns(data: ResponseItem[]): ListColumns<ResponseItem>;
|
|
@@ -5,6 +5,7 @@ export default class Delete extends DeleteBaseCommand<typeof Delete> {
|
|
|
5
5
|
static flags: {
|
|
6
6
|
force: import("@oclif/core/interfaces").BooleanFlag<boolean>;
|
|
7
7
|
quiet: import("@oclif/core/interfaces").BooleanFlag<boolean>;
|
|
8
|
+
token: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
8
9
|
};
|
|
9
10
|
static args: {
|
|
10
11
|
id: import("@oclif/core/interfaces").Arg<string, Record<string, unknown>>;
|
|
@@ -5,7 +5,7 @@ type APIResponse = Awaited<ReturnType<MittwaldAPIV2Client["mail"]["getMailAddres
|
|
|
5
5
|
export default class Get extends GetBaseCommand<typeof Get, APIResponse> {
|
|
6
6
|
static description: string;
|
|
7
7
|
static flags: {
|
|
8
|
-
|
|
8
|
+
token: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
9
9
|
};
|
|
10
10
|
static args: {
|
|
11
11
|
id: import("@oclif/core/interfaces").Arg<string, Record<string, unknown>>;
|
|
@@ -15,6 +15,7 @@ export declare class List extends ListBaseCommand<typeof List, ResponseItem, Res
|
|
|
15
15
|
"no-truncate": import("@oclif/core/interfaces").BooleanFlag<boolean>;
|
|
16
16
|
"no-relative-dates": import("@oclif/core/interfaces").BooleanFlag<boolean>;
|
|
17
17
|
"csv-separator": import("@oclif/core/interfaces").OptionFlag<"," | ";">;
|
|
18
|
+
token: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
18
19
|
};
|
|
19
20
|
getData(): Promise<Response>;
|
|
20
21
|
protected getColumns(data: ResponseItem[]): ListColumns<ResponseItem>;
|
|
@@ -5,6 +5,7 @@ export default class Delete extends DeleteBaseCommand<typeof Delete> {
|
|
|
5
5
|
static flags: {
|
|
6
6
|
force: import("@oclif/core/interfaces").BooleanFlag<boolean>;
|
|
7
7
|
quiet: import("@oclif/core/interfaces").BooleanFlag<boolean>;
|
|
8
|
+
token: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
8
9
|
};
|
|
9
10
|
static args: {
|
|
10
11
|
id: import("@oclif/core/interfaces").Arg<string, Record<string, unknown>>;
|
|
@@ -5,7 +5,7 @@ type APIResponse = Awaited<ReturnType<MittwaldAPIV2Client["mail"]["getDeliveryBo
|
|
|
5
5
|
export default class Get extends GetBaseCommand<typeof Get, APIResponse> {
|
|
6
6
|
static description: string;
|
|
7
7
|
static flags: {
|
|
8
|
-
|
|
8
|
+
token: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
9
9
|
};
|
|
10
10
|
static args: {
|
|
11
11
|
id: import("@oclif/core/interfaces").Arg<string, Record<string, unknown>>;
|
|
@@ -15,6 +15,7 @@ export declare class List extends ListBaseCommand<typeof List, ResponseItem, Res
|
|
|
15
15
|
"no-truncate": import("@oclif/core/interfaces").BooleanFlag<boolean>;
|
|
16
16
|
"no-relative-dates": import("@oclif/core/interfaces").BooleanFlag<boolean>;
|
|
17
17
|
"csv-separator": import("@oclif/core/interfaces").OptionFlag<"," | ";">;
|
|
18
|
+
token: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
18
19
|
"project-id": import("@oclif/core/interfaces").OptionFlag<string>;
|
|
19
20
|
};
|
|
20
21
|
getData(): Promise<Response>;
|
|
@@ -5,6 +5,7 @@ export default class Delete extends DeleteBaseCommand<typeof Delete> {
|
|
|
5
5
|
static flags: {
|
|
6
6
|
force: import("@oclif/core/interfaces").BooleanFlag<boolean>;
|
|
7
7
|
quiet: import("@oclif/core/interfaces").BooleanFlag<boolean>;
|
|
8
|
+
token: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
8
9
|
};
|
|
9
10
|
static args: {
|
|
10
11
|
"org-id": import("@oclif/core/interfaces").Arg<string>;
|
package/dist/commands/org/get.js
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { GetBaseCommand } from "../../lib/basecommands/GetBaseCommand.js";
|
|
3
2
|
import { orgArgs, withOrgId } from "../../lib/resources/org/flags.js";
|
|
4
3
|
import { RenderBaseCommand } from "../../lib/basecommands/RenderBaseCommand.js";
|
|
5
4
|
import { usePromise } from "@mittwald/react-use-promise";
|
|
@@ -35,7 +34,7 @@ const GetOrganization = ({ response }) => {
|
|
|
35
34
|
export class Get extends RenderBaseCommand {
|
|
36
35
|
static description = "Get an organization profile.";
|
|
37
36
|
static flags = {
|
|
38
|
-
...
|
|
37
|
+
...RenderBaseCommand.buildFlags(),
|
|
39
38
|
};
|
|
40
39
|
static args = { ...orgArgs };
|
|
41
40
|
render() {
|
|
@@ -20,6 +20,7 @@ export declare class List extends ListBaseCommand<typeof List, ResponseItem, Res
|
|
|
20
20
|
"no-truncate": import("@oclif/core/interfaces").BooleanFlag<boolean>;
|
|
21
21
|
"no-relative-dates": import("@oclif/core/interfaces").BooleanFlag<boolean>;
|
|
22
22
|
"csv-separator": import("@oclif/core/interfaces").OptionFlag<"," | ";">;
|
|
23
|
+
token: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
23
24
|
};
|
|
24
25
|
getData(): Promise<Response>;
|
|
25
26
|
protected mapData(data: SuccessfulResponse<Response, 200>["data"]): Promise<(MittwaldAPIV2.Components.Schemas.MembershipCustomerInvite | {
|
|
@@ -15,6 +15,7 @@ export declare abstract class List extends ListBaseCommand<typeof List, Response
|
|
|
15
15
|
"no-truncate": import("@oclif/core/interfaces").BooleanFlag<boolean>;
|
|
16
16
|
"no-relative-dates": import("@oclif/core/interfaces").BooleanFlag<boolean>;
|
|
17
17
|
"csv-separator": import("@oclif/core/interfaces").OptionFlag<"," | ";">;
|
|
18
|
+
token: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
18
19
|
};
|
|
19
20
|
getData(): Promise<Response>;
|
|
20
21
|
protected getColumns(data: ResponseItem[]): ListColumns<ResponseItem>;
|
|
@@ -15,6 +15,7 @@ export declare class List extends ListBaseCommand<typeof List, ResponseItem, Res
|
|
|
15
15
|
"no-truncate": import("@oclif/core/interfaces").BooleanFlag<boolean>;
|
|
16
16
|
"no-relative-dates": import("@oclif/core/interfaces").BooleanFlag<boolean>;
|
|
17
17
|
"csv-separator": import("@oclif/core/interfaces").OptionFlag<"," | ";">;
|
|
18
|
+
token: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
18
19
|
};
|
|
19
20
|
getData(): Promise<Response>;
|
|
20
21
|
protected mapParams(input: PathParams): Promise<PathParams> | PathParams;
|
|
@@ -20,6 +20,7 @@ export declare class ListOwn extends ListBaseCommand<typeof ListOwn, ResponseIte
|
|
|
20
20
|
"no-truncate": import("@oclif/core/interfaces").BooleanFlag<boolean>;
|
|
21
21
|
"no-relative-dates": import("@oclif/core/interfaces").BooleanFlag<boolean>;
|
|
22
22
|
"csv-separator": import("@oclif/core/interfaces").OptionFlag<"," | ";">;
|
|
23
|
+
token: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
23
24
|
};
|
|
24
25
|
getData(): Promise<Response>;
|
|
25
26
|
protected mapData(data: SuccessfulResponse<Response, 200>["data"]): Promise<(MittwaldAPIV2.Components.Schemas.MembershipCustomerMembership | {
|
|
@@ -22,6 +22,7 @@ export declare class List extends ListBaseCommand<typeof List, ResponseItem, Res
|
|
|
22
22
|
"no-truncate": import("@oclif/core/interfaces").BooleanFlag<boolean>;
|
|
23
23
|
"no-relative-dates": import("@oclif/core/interfaces").BooleanFlag<boolean>;
|
|
24
24
|
"csv-separator": import("@oclif/core/interfaces").OptionFlag<"," | ";">;
|
|
25
|
+
token: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
25
26
|
};
|
|
26
27
|
getData(): Promise<Response>;
|
|
27
28
|
protected mapData(data: SuccessfulResponse<Response, 200>["data"]): Promise<(MittwaldAPIV2.Components.Schemas.MembershipCustomerMembership | {
|
|
@@ -5,6 +5,7 @@ export default class Delete extends DeleteBaseCommand<typeof Delete> {
|
|
|
5
5
|
static flags: {
|
|
6
6
|
force: import("@oclif/core/interfaces").BooleanFlag<boolean>;
|
|
7
7
|
quiet: import("@oclif/core/interfaces").BooleanFlag<boolean>;
|
|
8
|
+
token: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
8
9
|
};
|
|
9
10
|
static args: {
|
|
10
11
|
"project-id": import("@oclif/core/interfaces").Arg<string>;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { GetBaseCommand } from "../../../lib/basecommands/GetBaseCommand.js";
|
|
3
2
|
import { projectArgs } from "../../../lib/resources/project/flags.js";
|
|
4
3
|
import { RenderBaseCommand } from "../../../lib/basecommands/RenderBaseCommand.js";
|
|
5
4
|
import { usePromise } from "@mittwald/react-use-promise";
|
|
@@ -15,7 +14,7 @@ import maybe from "../../../lib/util/maybe.js";
|
|
|
15
14
|
export class Usage extends RenderBaseCommand {
|
|
16
15
|
static description = "Get a project directory filesystem usage.";
|
|
17
16
|
static flags = {
|
|
18
|
-
...
|
|
17
|
+
...RenderBaseCommand.buildFlags(),
|
|
19
18
|
human: Flags.boolean({
|
|
20
19
|
description: "Display human readable sizes.",
|
|
21
20
|
}),
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
2
|
-
import { GetBaseCommand } from "../../lib/basecommands/GetBaseCommand.js";
|
|
3
2
|
import { projectArgs } from "../../lib/resources/project/flags.js";
|
|
4
3
|
import { SingleResult, SingleResultTable, } from "../../rendering/react/components/SingleResult.js";
|
|
5
4
|
import { Box, Text } from "ink";
|
|
@@ -67,7 +66,7 @@ const GetProject = ({ response }) => {
|
|
|
67
66
|
};
|
|
68
67
|
export class Get extends RenderBaseCommand {
|
|
69
68
|
static description = "Get details of a project";
|
|
70
|
-
static flags = { ...
|
|
69
|
+
static flags = { ...RenderBaseCommand.buildFlags() };
|
|
71
70
|
static args = { ...projectArgs };
|
|
72
71
|
formatter = new GetFormatter(new ComponentPrinter((r) => _jsx(GetProject, { response: r })));
|
|
73
72
|
render() {
|
|
@@ -4,7 +4,7 @@ type APIResponse = Awaited<ReturnType<MittwaldAPIV2Client["project"]["getProject
|
|
|
4
4
|
export default class Get extends GetBaseCommand<typeof Get, APIResponse> {
|
|
5
5
|
static description: string;
|
|
6
6
|
static flags: {
|
|
7
|
-
|
|
7
|
+
token: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
8
8
|
};
|
|
9
9
|
static args: {
|
|
10
10
|
"invite-id": import("@oclif/core/interfaces").Arg<string, Record<string, unknown>>;
|
|
@@ -14,6 +14,7 @@ export default class List extends ListBaseCommand<typeof List, ResponseItem, Res
|
|
|
14
14
|
"no-truncate": import("@oclif/core/interfaces").BooleanFlag<boolean>;
|
|
15
15
|
"no-relative-dates": import("@oclif/core/interfaces").BooleanFlag<boolean>;
|
|
16
16
|
"csv-separator": import("@oclif/core/interfaces").OptionFlag<"," | ";">;
|
|
17
|
+
token: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
17
18
|
};
|
|
18
19
|
getData(): Promise<Response>;
|
|
19
20
|
protected getColumns(): ListColumns<ResponseItem>;
|
|
@@ -15,6 +15,7 @@ export default class List extends ListBaseCommand<typeof List, ResponseItem, Res
|
|
|
15
15
|
"no-truncate": import("@oclif/core/interfaces").BooleanFlag<boolean>;
|
|
16
16
|
"no-relative-dates": import("@oclif/core/interfaces").BooleanFlag<boolean>;
|
|
17
17
|
"csv-separator": import("@oclif/core/interfaces").OptionFlag<"," | ";">;
|
|
18
|
+
token: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
18
19
|
};
|
|
19
20
|
getData(): Promise<Response>;
|
|
20
21
|
protected getColumns(): ListColumns<ResponseItem>;
|
|
@@ -14,6 +14,7 @@ export declare class List extends ListBaseCommand<typeof List, ProjectResponseIt
|
|
|
14
14
|
"no-truncate": import("@oclif/core/interfaces").BooleanFlag<boolean>;
|
|
15
15
|
"no-relative-dates": import("@oclif/core/interfaces").BooleanFlag<boolean>;
|
|
16
16
|
"csv-separator": import("@oclif/core/interfaces").OptionFlag<"," | ";">;
|
|
17
|
+
token: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
17
18
|
};
|
|
18
19
|
getData(): Promise<Response>;
|
|
19
20
|
protected getColumns(ignoredData: ProjectResponseItem[]): ListColumns<ProjectResponseItem>;
|
|
@@ -5,6 +5,7 @@ export default class GetOwn extends GetBaseCommand<typeof GetOwn, APIResponse> {
|
|
|
5
5
|
static description: string;
|
|
6
6
|
static flags: {
|
|
7
7
|
"project-id": import("@oclif/core/interfaces").OptionFlag<string>;
|
|
8
|
+
token: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
8
9
|
};
|
|
9
10
|
static args: {};
|
|
10
11
|
protected getData(): Promise<APIResponse>;
|
|
@@ -4,7 +4,7 @@ type APIResponse = Awaited<ReturnType<MittwaldAPIV2Client["project"]["getProject
|
|
|
4
4
|
export default class Get extends GetBaseCommand<typeof Get, APIResponse> {
|
|
5
5
|
static description: string;
|
|
6
6
|
static flags: {
|
|
7
|
-
|
|
7
|
+
token: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
8
8
|
};
|
|
9
9
|
static args: {
|
|
10
10
|
"membership-id": import("@oclif/core/interfaces").Arg<string, Record<string, unknown>>;
|
|
@@ -14,6 +14,7 @@ export default class ListOwn extends ListBaseCommand<typeof ListOwn, ResponseIte
|
|
|
14
14
|
"no-truncate": import("@oclif/core/interfaces").BooleanFlag<boolean>;
|
|
15
15
|
"no-relative-dates": import("@oclif/core/interfaces").BooleanFlag<boolean>;
|
|
16
16
|
"csv-separator": import("@oclif/core/interfaces").OptionFlag<"," | ";">;
|
|
17
|
+
token: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
17
18
|
};
|
|
18
19
|
getData(): Promise<Response>;
|
|
19
20
|
protected getColumns(): ListColumns<ResponseItem>;
|
|
@@ -18,6 +18,7 @@ export default class List extends ListBaseCommand<typeof List, ResponseItem, Res
|
|
|
18
18
|
"no-truncate": import("@oclif/core/interfaces").BooleanFlag<boolean>;
|
|
19
19
|
"no-relative-dates": import("@oclif/core/interfaces").BooleanFlag<boolean>;
|
|
20
20
|
"csv-separator": import("@oclif/core/interfaces").OptionFlag<"," | ";">;
|
|
21
|
+
token: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
21
22
|
};
|
|
22
23
|
getData(): Promise<Response>;
|
|
23
24
|
protected mapData(data: SuccessfulResponse<Response, 200>["data"]): Promise<({
|