@powerhousedao/common 6.0.0-dev.2 → 6.0.0-dev.20
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/clis/args/access-token.d.ts +12 -0
- package/dist/clis/args/access-token.d.ts.map +1 -0
- package/dist/clis/args/access-token.js +19 -0
- package/dist/clis/args/access-token.js.map +1 -0
- package/dist/clis/args/common.d.ts +134 -0
- package/dist/clis/args/common.d.ts.map +1 -0
- package/dist/clis/args/common.js +214 -0
- package/dist/clis/args/common.js.map +1 -0
- package/dist/clis/args/connect.d.ts +198 -0
- package/dist/clis/args/connect.d.ts.map +1 -0
- package/dist/clis/args/connect.js +48 -0
- package/dist/clis/args/connect.js.map +1 -0
- package/dist/clis/args/generate.d.ts +78 -0
- package/dist/clis/args/generate.d.ts.map +1 -0
- package/dist/clis/args/generate.js +129 -0
- package/dist/clis/args/generate.js.map +1 -0
- package/dist/clis/args/help.d.ts +317 -0
- package/dist/clis/args/help.d.ts.map +1 -0
- package/dist/clis/args/help.js +89 -0
- package/dist/clis/args/help.js.map +1 -0
- package/dist/clis/args/inspect.d.ts +9 -0
- package/dist/clis/args/inspect.d.ts.map +1 -0
- package/dist/clis/args/inspect.js +11 -0
- package/dist/clis/args/inspect.js.map +1 -0
- package/dist/clis/args/install.d.ts +24 -0
- package/dist/clis/args/install.d.ts.map +1 -0
- package/dist/clis/args/install.js +12 -0
- package/dist/clis/args/install.js.map +1 -0
- package/dist/clis/args/list.d.ts +6 -0
- package/dist/clis/args/list.d.ts.map +1 -0
- package/dist/clis/args/list.js +5 -0
- package/dist/clis/args/list.js.map +1 -0
- package/dist/clis/args/login.d.ts +21 -0
- package/dist/clis/args/login.d.ts.map +1 -0
- package/dist/clis/args/login.js +37 -0
- package/dist/clis/args/login.js.map +1 -0
- package/dist/clis/args/migrate.d.ts +9 -0
- package/dist/clis/args/migrate.d.ts.map +1 -0
- package/dist/clis/args/migrate.js +6 -0
- package/dist/clis/args/migrate.js.map +1 -0
- package/dist/clis/args/service.d.ts +9 -0
- package/dist/clis/args/service.d.ts.map +1 -0
- package/dist/clis/args/service.js +10 -0
- package/dist/clis/args/service.js.map +1 -0
- package/dist/clis/args/switchboard.d.ts +60 -0
- package/dist/clis/args/switchboard.d.ts.map +1 -0
- package/dist/clis/args/switchboard.js +71 -0
- package/dist/clis/args/switchboard.js.map +1 -0
- package/dist/clis/args/uninstall.d.ts +24 -0
- package/dist/clis/args/uninstall.d.ts.map +1 -0
- package/dist/clis/args/uninstall.js +12 -0
- package/dist/clis/args/uninstall.js.map +1 -0
- package/dist/clis/args/vetra.d.ts +87 -0
- package/dist/clis/args/vetra.d.ts.map +1 -0
- package/dist/clis/args/vetra.js +64 -0
- package/dist/clis/args/vetra.js.map +1 -0
- package/dist/clis/constants.d.ts +16 -0
- package/dist/clis/constants.d.ts.map +1 -0
- package/dist/clis/constants.js +25 -0
- package/dist/clis/constants.js.map +1 -0
- package/dist/clis/index.d.ts +18 -0
- package/dist/clis/index.d.ts.map +1 -0
- package/dist/clis/index.js +17 -0
- package/dist/clis/index.js.map +1 -0
- package/dist/clis/types.d.ts +8 -0
- package/dist/clis/types.d.ts.map +1 -0
- package/dist/clis/types.js +2 -0
- package/dist/clis/types.js.map +1 -0
- package/dist/clis/utils.d.ts +2 -0
- package/dist/clis/utils.d.ts.map +1 -0
- package/dist/clis/utils.js +10 -0
- package/dist/clis/utils.js.map +1 -0
- package/dist/editors/generic-drive-explorer/components/file-content-view.d.ts.map +1 -1
- package/dist/editors/generic-drive-explorer/components/file-content-view.js +2 -1
- package/dist/editors/generic-drive-explorer/components/file-content-view.js.map +1 -1
- package/dist/editors/generic-drive-explorer/components/layout.d.ts.map +1 -1
- package/dist/editors/generic-drive-explorer/components/layout.js +1 -1
- package/dist/editors/generic-drive-explorer/components/layout.js.map +1 -1
- package/dist/editors/styles.css +3 -8
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +13 -8
|
@@ -0,0 +1,317 @@
|
|
|
1
|
+
export declare const phCliHelpCommands: {
|
|
2
|
+
generate: Partial<import("cmd-ts/dist/cjs/argparser.js").Register> & {
|
|
3
|
+
parse(context: import("cmd-ts/dist/cjs/argparser.js").ParseContext): Promise<import("cmd-ts/dist/cjs/argparser.js").ParsingResult<{
|
|
4
|
+
debug: boolean | undefined;
|
|
5
|
+
documentModelFilePositional: string | undefined;
|
|
6
|
+
documentModelFileOption: string | undefined;
|
|
7
|
+
editorName: string | undefined;
|
|
8
|
+
editorId: string | undefined;
|
|
9
|
+
editorDirName: string | undefined;
|
|
10
|
+
documentType: string | undefined;
|
|
11
|
+
documentTypes: string | undefined;
|
|
12
|
+
driveEditorName: string | undefined;
|
|
13
|
+
driveEditorId: string | undefined;
|
|
14
|
+
driveEditorDirName: string | undefined;
|
|
15
|
+
processorName: string | undefined;
|
|
16
|
+
processorType: "relationalDb" | "analytics";
|
|
17
|
+
subgraphName: string | undefined;
|
|
18
|
+
importScriptName: string | undefined;
|
|
19
|
+
allowedDocumentTypes: string[] | undefined;
|
|
20
|
+
migrationFile: string | undefined;
|
|
21
|
+
schemaFile: string | undefined;
|
|
22
|
+
disableDragAndDrop: boolean | undefined;
|
|
23
|
+
force: boolean | undefined;
|
|
24
|
+
verbose: boolean | undefined;
|
|
25
|
+
watch: boolean | undefined;
|
|
26
|
+
skipFormat: boolean | undefined;
|
|
27
|
+
useHygen: boolean;
|
|
28
|
+
useVersioning: boolean;
|
|
29
|
+
}>>;
|
|
30
|
+
} & import("cmd-ts/dist/cjs/helpdoc.js").PrintHelp & import("cmd-ts/dist/cjs/helpdoc.js").ProvidesHelp & import("cmd-ts/dist/cjs/helpdoc.js").Named & Partial<import("cmd-ts/dist/cjs/helpdoc.js").Versioned> & import("cmd-ts/dist/cjs/argparser.js").Register & import("cmd-ts/dist/cjs/runner.js").Handling<{
|
|
31
|
+
debug: boolean | undefined;
|
|
32
|
+
documentModelFilePositional: string | undefined;
|
|
33
|
+
documentModelFileOption: string | undefined;
|
|
34
|
+
editorName: string | undefined;
|
|
35
|
+
editorId: string | undefined;
|
|
36
|
+
editorDirName: string | undefined;
|
|
37
|
+
documentType: string | undefined;
|
|
38
|
+
documentTypes: string | undefined;
|
|
39
|
+
driveEditorName: string | undefined;
|
|
40
|
+
driveEditorId: string | undefined;
|
|
41
|
+
driveEditorDirName: string | undefined;
|
|
42
|
+
processorName: string | undefined;
|
|
43
|
+
processorType: "relationalDb" | "analytics";
|
|
44
|
+
subgraphName: string | undefined;
|
|
45
|
+
importScriptName: string | undefined;
|
|
46
|
+
allowedDocumentTypes: string[] | undefined;
|
|
47
|
+
migrationFile: string | undefined;
|
|
48
|
+
schemaFile: string | undefined;
|
|
49
|
+
disableDragAndDrop: boolean | undefined;
|
|
50
|
+
force: boolean | undefined;
|
|
51
|
+
verbose: boolean | undefined;
|
|
52
|
+
watch: boolean | undefined;
|
|
53
|
+
skipFormat: boolean | undefined;
|
|
54
|
+
useHygen: boolean;
|
|
55
|
+
useVersioning: boolean;
|
|
56
|
+
}, void> & {
|
|
57
|
+
run(context: import("cmd-ts/dist/cjs/argparser.js").ParseContext): Promise<import("cmd-ts/dist/cjs/argparser.js").ParsingResult<void>>;
|
|
58
|
+
} & Partial<import("cmd-ts/dist/cjs/helpdoc.js").Versioned & import("cmd-ts/dist/cjs/helpdoc.js").Descriptive & import("cmd-ts/dist/cjs/helpdoc.js").Aliased>;
|
|
59
|
+
vetra: Partial<import("cmd-ts/dist/cjs/argparser.js").Register> & {
|
|
60
|
+
parse(context: import("cmd-ts/dist/cjs/argparser.js").ParseContext): Promise<import("cmd-ts/dist/cjs/argparser.js").ParsingResult<{
|
|
61
|
+
debug: boolean | undefined;
|
|
62
|
+
https: boolean | undefined;
|
|
63
|
+
httpsKeyFile: string | undefined;
|
|
64
|
+
httpsCertFile: string | undefined;
|
|
65
|
+
dev: boolean | undefined;
|
|
66
|
+
remoteDrives: string[];
|
|
67
|
+
disableLocalPackages: boolean;
|
|
68
|
+
host: boolean | undefined;
|
|
69
|
+
open: boolean | undefined;
|
|
70
|
+
cors: boolean | undefined;
|
|
71
|
+
strictPort: boolean | undefined;
|
|
72
|
+
printUrls: boolean;
|
|
73
|
+
bindCLIShortcuts: boolean;
|
|
74
|
+
watchTimeout: number;
|
|
75
|
+
connectBasePath: string;
|
|
76
|
+
logLevel: "info" | "warn" | "error" | "debug";
|
|
77
|
+
packages: string | undefined;
|
|
78
|
+
localPackage: string | undefined;
|
|
79
|
+
defaultDrivesUrl: string | undefined;
|
|
80
|
+
drivesPreserveStrategy: "preserve-all" | "preserve-by-url-and-detach";
|
|
81
|
+
force: boolean | undefined;
|
|
82
|
+
switchboardPort: number;
|
|
83
|
+
connectPort: number;
|
|
84
|
+
remoteDrive: string | undefined;
|
|
85
|
+
watch: boolean;
|
|
86
|
+
verbose: boolean;
|
|
87
|
+
disableConnect: boolean;
|
|
88
|
+
interactive: boolean;
|
|
89
|
+
}>>;
|
|
90
|
+
} & import("cmd-ts/dist/cjs/helpdoc.js").PrintHelp & import("cmd-ts/dist/cjs/helpdoc.js").ProvidesHelp & import("cmd-ts/dist/cjs/helpdoc.js").Named & Partial<import("cmd-ts/dist/cjs/helpdoc.js").Versioned> & import("cmd-ts/dist/cjs/argparser.js").Register & import("cmd-ts/dist/cjs/runner.js").Handling<{
|
|
91
|
+
debug: boolean | undefined;
|
|
92
|
+
https: boolean | undefined;
|
|
93
|
+
httpsKeyFile: string | undefined;
|
|
94
|
+
httpsCertFile: string | undefined;
|
|
95
|
+
dev: boolean | undefined;
|
|
96
|
+
remoteDrives: string[];
|
|
97
|
+
disableLocalPackages: boolean;
|
|
98
|
+
host: boolean | undefined;
|
|
99
|
+
open: boolean | undefined;
|
|
100
|
+
cors: boolean | undefined;
|
|
101
|
+
strictPort: boolean | undefined;
|
|
102
|
+
printUrls: boolean;
|
|
103
|
+
bindCLIShortcuts: boolean;
|
|
104
|
+
watchTimeout: number;
|
|
105
|
+
connectBasePath: string;
|
|
106
|
+
logLevel: "info" | "warn" | "error" | "debug";
|
|
107
|
+
packages: string | undefined;
|
|
108
|
+
localPackage: string | undefined;
|
|
109
|
+
defaultDrivesUrl: string | undefined;
|
|
110
|
+
drivesPreserveStrategy: "preserve-all" | "preserve-by-url-and-detach";
|
|
111
|
+
force: boolean | undefined;
|
|
112
|
+
switchboardPort: number;
|
|
113
|
+
connectPort: number;
|
|
114
|
+
remoteDrive: string | undefined;
|
|
115
|
+
watch: boolean;
|
|
116
|
+
verbose: boolean;
|
|
117
|
+
disableConnect: boolean;
|
|
118
|
+
interactive: boolean;
|
|
119
|
+
}, void> & {
|
|
120
|
+
run(context: import("cmd-ts/dist/cjs/argparser.js").ParseContext): Promise<import("cmd-ts/dist/cjs/argparser.js").ParsingResult<void>>;
|
|
121
|
+
} & Partial<import("cmd-ts/dist/cjs/helpdoc.js").Versioned & import("cmd-ts/dist/cjs/helpdoc.js").Descriptive & import("cmd-ts/dist/cjs/helpdoc.js").Aliased>;
|
|
122
|
+
connect: Partial<import("cmd-ts/dist/cjs/argparser.js").Register> & {
|
|
123
|
+
parse(context: import("cmd-ts/dist/cjs/argparser.js").ParseContext): Promise<import("cmd-ts/dist/cjs/argparser.js").ParsingResult<{
|
|
124
|
+
host: boolean | undefined;
|
|
125
|
+
open: boolean | undefined;
|
|
126
|
+
cors: boolean | undefined;
|
|
127
|
+
strictPort: boolean | undefined;
|
|
128
|
+
printUrls: boolean;
|
|
129
|
+
bindCLIShortcuts: boolean;
|
|
130
|
+
watchTimeout: number;
|
|
131
|
+
debug: boolean | undefined;
|
|
132
|
+
connectBasePath: string;
|
|
133
|
+
logLevel: "info" | "warn" | "error" | "debug";
|
|
134
|
+
packages: string | undefined;
|
|
135
|
+
localPackage: string | undefined;
|
|
136
|
+
disableLocalPackages: boolean;
|
|
137
|
+
defaultDrivesUrl: string | undefined;
|
|
138
|
+
drivesPreserveStrategy: "preserve-all" | "preserve-by-url-and-detach";
|
|
139
|
+
force: boolean | undefined;
|
|
140
|
+
port: number;
|
|
141
|
+
outDir: string | undefined;
|
|
142
|
+
}>>;
|
|
143
|
+
} & import("cmd-ts/dist/cjs/helpdoc.js").PrintHelp & import("cmd-ts/dist/cjs/helpdoc.js").ProvidesHelp & import("cmd-ts/dist/cjs/helpdoc.js").Named & Partial<import("cmd-ts/dist/cjs/helpdoc.js").Versioned> & import("cmd-ts/dist/cjs/argparser.js").Register & import("cmd-ts/dist/cjs/runner.js").Handling<{
|
|
144
|
+
host: boolean | undefined;
|
|
145
|
+
open: boolean | undefined;
|
|
146
|
+
cors: boolean | undefined;
|
|
147
|
+
strictPort: boolean | undefined;
|
|
148
|
+
printUrls: boolean;
|
|
149
|
+
bindCLIShortcuts: boolean;
|
|
150
|
+
watchTimeout: number;
|
|
151
|
+
debug: boolean | undefined;
|
|
152
|
+
connectBasePath: string;
|
|
153
|
+
logLevel: "info" | "warn" | "error" | "debug";
|
|
154
|
+
packages: string | undefined;
|
|
155
|
+
localPackage: string | undefined;
|
|
156
|
+
disableLocalPackages: boolean;
|
|
157
|
+
defaultDrivesUrl: string | undefined;
|
|
158
|
+
drivesPreserveStrategy: "preserve-all" | "preserve-by-url-and-detach";
|
|
159
|
+
force: boolean | undefined;
|
|
160
|
+
port: number;
|
|
161
|
+
outDir: string | undefined;
|
|
162
|
+
}, void> & {
|
|
163
|
+
run(context: import("cmd-ts/dist/cjs/argparser.js").ParseContext): Promise<import("cmd-ts/dist/cjs/argparser.js").ParsingResult<void>>;
|
|
164
|
+
} & Partial<import("cmd-ts/dist/cjs/helpdoc.js").Versioned & import("cmd-ts/dist/cjs/helpdoc.js").Descriptive & import("cmd-ts/dist/cjs/helpdoc.js").Aliased>;
|
|
165
|
+
list: Partial<import("cmd-ts/dist/cjs/argparser.js").Register> & {
|
|
166
|
+
parse(context: import("cmd-ts/dist/cjs/argparser.js").ParseContext): Promise<import("cmd-ts/dist/cjs/argparser.js").ParsingResult<{
|
|
167
|
+
debug: boolean | undefined;
|
|
168
|
+
}>>;
|
|
169
|
+
} & import("cmd-ts/dist/cjs/helpdoc.js").PrintHelp & import("cmd-ts/dist/cjs/helpdoc.js").ProvidesHelp & import("cmd-ts/dist/cjs/helpdoc.js").Named & Partial<import("cmd-ts/dist/cjs/helpdoc.js").Versioned> & import("cmd-ts/dist/cjs/argparser.js").Register & import("cmd-ts/dist/cjs/runner.js").Handling<{
|
|
170
|
+
debug: boolean | undefined;
|
|
171
|
+
}, void> & {
|
|
172
|
+
run(context: import("cmd-ts/dist/cjs/argparser.js").ParseContext): Promise<import("cmd-ts/dist/cjs/argparser.js").ParsingResult<void>>;
|
|
173
|
+
} & Partial<import("cmd-ts/dist/cjs/helpdoc.js").Versioned & import("cmd-ts/dist/cjs/helpdoc.js").Descriptive & import("cmd-ts/dist/cjs/helpdoc.js").Aliased>;
|
|
174
|
+
"access-token": Partial<import("cmd-ts/dist/cjs/argparser.js").Register> & {
|
|
175
|
+
parse(context: import("cmd-ts/dist/cjs/argparser.js").ParseContext): Promise<import("cmd-ts/dist/cjs/argparser.js").ParsingResult<{
|
|
176
|
+
debug: boolean | undefined;
|
|
177
|
+
expiry: string | undefined;
|
|
178
|
+
audience: string | undefined;
|
|
179
|
+
}>>;
|
|
180
|
+
} & import("cmd-ts/dist/cjs/helpdoc.js").PrintHelp & import("cmd-ts/dist/cjs/helpdoc.js").ProvidesHelp & import("cmd-ts/dist/cjs/helpdoc.js").Named & Partial<import("cmd-ts/dist/cjs/helpdoc.js").Versioned> & import("cmd-ts/dist/cjs/argparser.js").Register & import("cmd-ts/dist/cjs/runner.js").Handling<{
|
|
181
|
+
debug: boolean | undefined;
|
|
182
|
+
expiry: string | undefined;
|
|
183
|
+
audience: string | undefined;
|
|
184
|
+
}, void> & {
|
|
185
|
+
run(context: import("cmd-ts/dist/cjs/argparser.js").ParseContext): Promise<import("cmd-ts/dist/cjs/argparser.js").ParsingResult<void>>;
|
|
186
|
+
} & Partial<import("cmd-ts/dist/cjs/helpdoc.js").Versioned & import("cmd-ts/dist/cjs/helpdoc.js").Descriptive & import("cmd-ts/dist/cjs/helpdoc.js").Aliased>;
|
|
187
|
+
inspect: Partial<import("cmd-ts/dist/cjs/argparser.js").Register> & {
|
|
188
|
+
parse(context: import("cmd-ts/dist/cjs/argparser.js").ParseContext): Promise<import("cmd-ts/dist/cjs/argparser.js").ParsingResult<{
|
|
189
|
+
debug: boolean | undefined;
|
|
190
|
+
packageName: string;
|
|
191
|
+
}>>;
|
|
192
|
+
} & import("cmd-ts/dist/cjs/helpdoc.js").PrintHelp & import("cmd-ts/dist/cjs/helpdoc.js").ProvidesHelp & import("cmd-ts/dist/cjs/helpdoc.js").Named & Partial<import("cmd-ts/dist/cjs/helpdoc.js").Versioned> & import("cmd-ts/dist/cjs/argparser.js").Register & import("cmd-ts/dist/cjs/runner.js").Handling<{
|
|
193
|
+
debug: boolean | undefined;
|
|
194
|
+
packageName: string;
|
|
195
|
+
}, void> & {
|
|
196
|
+
run(context: import("cmd-ts/dist/cjs/argparser.js").ParseContext): Promise<import("cmd-ts/dist/cjs/argparser.js").ParsingResult<void>>;
|
|
197
|
+
} & Partial<import("cmd-ts/dist/cjs/helpdoc.js").Versioned & import("cmd-ts/dist/cjs/helpdoc.js").Descriptive & import("cmd-ts/dist/cjs/helpdoc.js").Aliased>;
|
|
198
|
+
migrate: Partial<import("cmd-ts/dist/cjs/argparser.js").Register> & {
|
|
199
|
+
parse(context: import("cmd-ts/dist/cjs/argparser.js").ParseContext): Promise<import("cmd-ts/dist/cjs/argparser.js").ParsingResult<{
|
|
200
|
+
debug: boolean | undefined;
|
|
201
|
+
useHygen: boolean;
|
|
202
|
+
}>>;
|
|
203
|
+
} & import("cmd-ts/dist/cjs/helpdoc.js").PrintHelp & import("cmd-ts/dist/cjs/helpdoc.js").ProvidesHelp & import("cmd-ts/dist/cjs/helpdoc.js").Named & Partial<import("cmd-ts/dist/cjs/helpdoc.js").Versioned> & import("cmd-ts/dist/cjs/argparser.js").Register & import("cmd-ts/dist/cjs/runner.js").Handling<{
|
|
204
|
+
debug: boolean | undefined;
|
|
205
|
+
useHygen: boolean;
|
|
206
|
+
}, void> & {
|
|
207
|
+
run(context: import("cmd-ts/dist/cjs/argparser.js").ParseContext): Promise<import("cmd-ts/dist/cjs/argparser.js").ParsingResult<void>>;
|
|
208
|
+
} & Partial<import("cmd-ts/dist/cjs/helpdoc.js").Versioned & import("cmd-ts/dist/cjs/helpdoc.js").Descriptive & import("cmd-ts/dist/cjs/helpdoc.js").Aliased>;
|
|
209
|
+
switchboard: Partial<import("cmd-ts/dist/cjs/argparser.js").Register> & {
|
|
210
|
+
parse(context: import("cmd-ts/dist/cjs/argparser.js").ParseContext): Promise<import("cmd-ts/dist/cjs/argparser.js").ParsingResult<{
|
|
211
|
+
packages: string | undefined;
|
|
212
|
+
port: number;
|
|
213
|
+
basePath: string | undefined;
|
|
214
|
+
keypairPath: string | undefined;
|
|
215
|
+
vetraDriveId: string;
|
|
216
|
+
dbPath: string | undefined;
|
|
217
|
+
useIdentity: boolean | undefined;
|
|
218
|
+
requireIdentity: boolean | undefined;
|
|
219
|
+
migrate: boolean | undefined;
|
|
220
|
+
migrateStatus: boolean | undefined;
|
|
221
|
+
mcp: boolean;
|
|
222
|
+
useVetraDrive: boolean;
|
|
223
|
+
debug: boolean | undefined;
|
|
224
|
+
https: boolean | undefined;
|
|
225
|
+
httpsKeyFile: string | undefined;
|
|
226
|
+
httpsCertFile: string | undefined;
|
|
227
|
+
dev: boolean | undefined;
|
|
228
|
+
remoteDrives: string[];
|
|
229
|
+
disableLocalPackages: boolean;
|
|
230
|
+
}>>;
|
|
231
|
+
} & import("cmd-ts/dist/cjs/helpdoc.js").PrintHelp & import("cmd-ts/dist/cjs/helpdoc.js").ProvidesHelp & import("cmd-ts/dist/cjs/helpdoc.js").Named & Partial<import("cmd-ts/dist/cjs/helpdoc.js").Versioned> & import("cmd-ts/dist/cjs/argparser.js").Register & import("cmd-ts/dist/cjs/runner.js").Handling<{
|
|
232
|
+
packages: string | undefined;
|
|
233
|
+
port: number;
|
|
234
|
+
basePath: string | undefined;
|
|
235
|
+
keypairPath: string | undefined;
|
|
236
|
+
vetraDriveId: string;
|
|
237
|
+
dbPath: string | undefined;
|
|
238
|
+
useIdentity: boolean | undefined;
|
|
239
|
+
requireIdentity: boolean | undefined;
|
|
240
|
+
migrate: boolean | undefined;
|
|
241
|
+
migrateStatus: boolean | undefined;
|
|
242
|
+
mcp: boolean;
|
|
243
|
+
useVetraDrive: boolean;
|
|
244
|
+
debug: boolean | undefined;
|
|
245
|
+
https: boolean | undefined;
|
|
246
|
+
httpsKeyFile: string | undefined;
|
|
247
|
+
httpsCertFile: string | undefined;
|
|
248
|
+
dev: boolean | undefined;
|
|
249
|
+
remoteDrives: string[];
|
|
250
|
+
disableLocalPackages: boolean;
|
|
251
|
+
}, void> & {
|
|
252
|
+
run(context: import("cmd-ts/dist/cjs/argparser.js").ParseContext): Promise<import("cmd-ts/dist/cjs/argparser.js").ParsingResult<void>>;
|
|
253
|
+
} & Partial<import("cmd-ts/dist/cjs/helpdoc.js").Versioned & import("cmd-ts/dist/cjs/helpdoc.js").Descriptive & import("cmd-ts/dist/cjs/helpdoc.js").Aliased>;
|
|
254
|
+
login: Partial<import("cmd-ts/dist/cjs/argparser.js").Register> & {
|
|
255
|
+
parse(context: import("cmd-ts/dist/cjs/argparser.js").ParseContext): Promise<import("cmd-ts/dist/cjs/argparser.js").ParsingResult<{
|
|
256
|
+
debug: boolean | undefined;
|
|
257
|
+
renownUrl: string;
|
|
258
|
+
timeout: number;
|
|
259
|
+
logout: boolean | undefined;
|
|
260
|
+
status: boolean | undefined;
|
|
261
|
+
showDid: boolean | undefined;
|
|
262
|
+
}>>;
|
|
263
|
+
} & import("cmd-ts/dist/cjs/helpdoc.js").PrintHelp & import("cmd-ts/dist/cjs/helpdoc.js").ProvidesHelp & import("cmd-ts/dist/cjs/helpdoc.js").Named & Partial<import("cmd-ts/dist/cjs/helpdoc.js").Versioned> & import("cmd-ts/dist/cjs/argparser.js").Register & import("cmd-ts/dist/cjs/runner.js").Handling<{
|
|
264
|
+
debug: boolean | undefined;
|
|
265
|
+
renownUrl: string;
|
|
266
|
+
timeout: number;
|
|
267
|
+
logout: boolean | undefined;
|
|
268
|
+
status: boolean | undefined;
|
|
269
|
+
showDid: boolean | undefined;
|
|
270
|
+
}, void> & {
|
|
271
|
+
run(context: import("cmd-ts/dist/cjs/argparser.js").ParseContext): Promise<import("cmd-ts/dist/cjs/argparser.js").ParsingResult<void>>;
|
|
272
|
+
} & Partial<import("cmd-ts/dist/cjs/helpdoc.js").Versioned & import("cmd-ts/dist/cjs/helpdoc.js").Descriptive & import("cmd-ts/dist/cjs/helpdoc.js").Aliased>;
|
|
273
|
+
install: Partial<import("cmd-ts/dist/cjs/argparser.js").Register> & {
|
|
274
|
+
parse(context: import("cmd-ts/dist/cjs/argparser.js").ParseContext): Promise<import("cmd-ts/dist/cjs/argparser.js").ParsingResult<{
|
|
275
|
+
debug: boolean | undefined;
|
|
276
|
+
packageManager: import("package-manager-detector").Agent | undefined;
|
|
277
|
+
npm: boolean | undefined;
|
|
278
|
+
pnpm: boolean | undefined;
|
|
279
|
+
yarn: boolean | undefined;
|
|
280
|
+
bun: boolean | undefined;
|
|
281
|
+
dependencies: string[];
|
|
282
|
+
}>>;
|
|
283
|
+
} & import("cmd-ts/dist/cjs/helpdoc.js").PrintHelp & import("cmd-ts/dist/cjs/helpdoc.js").ProvidesHelp & import("cmd-ts/dist/cjs/helpdoc.js").Named & Partial<import("cmd-ts/dist/cjs/helpdoc.js").Versioned> & import("cmd-ts/dist/cjs/argparser.js").Register & import("cmd-ts/dist/cjs/runner.js").Handling<{
|
|
284
|
+
debug: boolean | undefined;
|
|
285
|
+
packageManager: import("package-manager-detector").Agent | undefined;
|
|
286
|
+
npm: boolean | undefined;
|
|
287
|
+
pnpm: boolean | undefined;
|
|
288
|
+
yarn: boolean | undefined;
|
|
289
|
+
bun: boolean | undefined;
|
|
290
|
+
dependencies: string[];
|
|
291
|
+
}, void> & {
|
|
292
|
+
run(context: import("cmd-ts/dist/cjs/argparser.js").ParseContext): Promise<import("cmd-ts/dist/cjs/argparser.js").ParsingResult<void>>;
|
|
293
|
+
} & Partial<import("cmd-ts/dist/cjs/helpdoc.js").Versioned & import("cmd-ts/dist/cjs/helpdoc.js").Descriptive & import("cmd-ts/dist/cjs/helpdoc.js").Aliased>;
|
|
294
|
+
uninstall: Partial<import("cmd-ts/dist/cjs/argparser.js").Register> & {
|
|
295
|
+
parse(context: import("cmd-ts/dist/cjs/argparser.js").ParseContext): Promise<import("cmd-ts/dist/cjs/argparser.js").ParsingResult<{
|
|
296
|
+
debug: boolean | undefined;
|
|
297
|
+
packageManager: import("package-manager-detector").Agent | undefined;
|
|
298
|
+
npm: boolean | undefined;
|
|
299
|
+
pnpm: boolean | undefined;
|
|
300
|
+
yarn: boolean | undefined;
|
|
301
|
+
bun: boolean | undefined;
|
|
302
|
+
dependencies: string[];
|
|
303
|
+
}>>;
|
|
304
|
+
} & import("cmd-ts/dist/cjs/helpdoc.js").PrintHelp & import("cmd-ts/dist/cjs/helpdoc.js").ProvidesHelp & import("cmd-ts/dist/cjs/helpdoc.js").Named & Partial<import("cmd-ts/dist/cjs/helpdoc.js").Versioned> & import("cmd-ts/dist/cjs/argparser.js").Register & import("cmd-ts/dist/cjs/runner.js").Handling<{
|
|
305
|
+
debug: boolean | undefined;
|
|
306
|
+
packageManager: import("package-manager-detector").Agent | undefined;
|
|
307
|
+
npm: boolean | undefined;
|
|
308
|
+
pnpm: boolean | undefined;
|
|
309
|
+
yarn: boolean | undefined;
|
|
310
|
+
bun: boolean | undefined;
|
|
311
|
+
dependencies: string[];
|
|
312
|
+
}, void> & {
|
|
313
|
+
run(context: import("cmd-ts/dist/cjs/argparser.js").ParseContext): Promise<import("cmd-ts/dist/cjs/argparser.js").ParsingResult<void>>;
|
|
314
|
+
} & Partial<import("cmd-ts/dist/cjs/helpdoc.js").Versioned & import("cmd-ts/dist/cjs/helpdoc.js").Descriptive & import("cmd-ts/dist/cjs/helpdoc.js").Aliased>;
|
|
315
|
+
};
|
|
316
|
+
export declare const phCliCommandNames: string[];
|
|
317
|
+
//# sourceMappingURL=help.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"help.d.ts","sourceRoot":"","sources":["../../../clis/args/help.ts"],"names":[],"mappings":"AAaA,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAyE7B,CAAC;AAEF,eAAO,MAAM,iBAAiB,UAI7B,CAAC"}
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
import { command } from "cmd-ts";
|
|
2
|
+
import { accessTokenArgs } from "./access-token.js";
|
|
3
|
+
import { connectArgs } from "./connect.js";
|
|
4
|
+
import { generateArgs } from "./generate.js";
|
|
5
|
+
import { inspectArgs } from "./inspect.js";
|
|
6
|
+
import { installArgs } from "./install.js";
|
|
7
|
+
import { listArgs } from "./list.js";
|
|
8
|
+
import { loginArgs } from "./login.js";
|
|
9
|
+
import { migrateArgs } from "./migrate.js";
|
|
10
|
+
import { switchboardArgs } from "./switchboard.js";
|
|
11
|
+
import { uninstallArgs } from "./uninstall.js";
|
|
12
|
+
import { vetraArgs } from "./vetra.js";
|
|
13
|
+
export const phCliHelpCommands = {
|
|
14
|
+
generate: command({
|
|
15
|
+
name: "generate",
|
|
16
|
+
args: generateArgs,
|
|
17
|
+
description: "Generate powerhouse code",
|
|
18
|
+
handler: () => { },
|
|
19
|
+
}),
|
|
20
|
+
vetra: command({
|
|
21
|
+
name: "vetra",
|
|
22
|
+
args: vetraArgs,
|
|
23
|
+
description: "Starts Vetra development environment with switchboard, reactor, and connect",
|
|
24
|
+
handler: () => { },
|
|
25
|
+
}),
|
|
26
|
+
connect: command({
|
|
27
|
+
name: "connect",
|
|
28
|
+
args: connectArgs,
|
|
29
|
+
description: "Powerhouse Connect commands",
|
|
30
|
+
handler: () => { },
|
|
31
|
+
}),
|
|
32
|
+
list: command({
|
|
33
|
+
name: "list",
|
|
34
|
+
aliases: ["l"],
|
|
35
|
+
args: listArgs,
|
|
36
|
+
description: "List installed packages",
|
|
37
|
+
handler: () => { },
|
|
38
|
+
}),
|
|
39
|
+
"access-token": command({
|
|
40
|
+
name: "access-token",
|
|
41
|
+
args: accessTokenArgs,
|
|
42
|
+
description: "Generate a bearer token for API authentication",
|
|
43
|
+
handler: () => { },
|
|
44
|
+
}),
|
|
45
|
+
inspect: command({
|
|
46
|
+
name: "inspect",
|
|
47
|
+
aliases: ["is"],
|
|
48
|
+
args: inspectArgs,
|
|
49
|
+
description: "Inspect a package",
|
|
50
|
+
handler: () => { },
|
|
51
|
+
}),
|
|
52
|
+
migrate: command({
|
|
53
|
+
name: "migrate",
|
|
54
|
+
args: migrateArgs,
|
|
55
|
+
description: "Run migrations",
|
|
56
|
+
handler: () => { },
|
|
57
|
+
}),
|
|
58
|
+
switchboard: command({
|
|
59
|
+
name: "switchboard",
|
|
60
|
+
aliases: ["reactor"],
|
|
61
|
+
args: switchboardArgs,
|
|
62
|
+
description: "Starts local Switchboard",
|
|
63
|
+
handler: () => { },
|
|
64
|
+
}),
|
|
65
|
+
login: command({
|
|
66
|
+
name: "login",
|
|
67
|
+
args: loginArgs,
|
|
68
|
+
description: "Authenticate with Renown using your Ethereum wallet",
|
|
69
|
+
handler: () => { },
|
|
70
|
+
}),
|
|
71
|
+
install: command({
|
|
72
|
+
name: "install",
|
|
73
|
+
aliases: ["add", "i"],
|
|
74
|
+
args: installArgs,
|
|
75
|
+
description: "Install a Powerhouse dependency",
|
|
76
|
+
handler: () => { },
|
|
77
|
+
}),
|
|
78
|
+
uninstall: command({
|
|
79
|
+
name: "uninstall",
|
|
80
|
+
aliases: ["remove"],
|
|
81
|
+
args: uninstallArgs,
|
|
82
|
+
description: "Uninstall a Powerhouse dependency",
|
|
83
|
+
handler: () => { },
|
|
84
|
+
}),
|
|
85
|
+
};
|
|
86
|
+
export const phCliCommandNames = Object.values(phCliHelpCommands).flatMap((cmd) => {
|
|
87
|
+
return [cmd.name, ...(cmd.aliases ?? [])];
|
|
88
|
+
});
|
|
89
|
+
//# sourceMappingURL=help.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"help.js","sourceRoot":"","sources":["../../../clis/args/help.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,QAAQ,CAAC;AACjC,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAC3C,OAAO,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAC7C,OAAO,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAC3C,OAAO,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAC3C,OAAO,EAAE,QAAQ,EAAE,MAAM,WAAW,CAAC;AACrC,OAAO,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AACvC,OAAO,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAC3C,OAAO,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AACnD,OAAO,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAC/C,OAAO,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AAEvC,MAAM,CAAC,MAAM,iBAAiB,GAAG;IAC/B,QAAQ,EAAE,OAAO,CAAC;QAChB,IAAI,EAAE,UAAU;QAChB,IAAI,EAAE,YAAY;QAClB,WAAW,EAAE,0BAA0B;QACvC,OAAO,EAAE,GAAG,EAAE,GAAE,CAAC;KAClB,CAAC;IACF,KAAK,EAAE,OAAO,CAAC;QACb,IAAI,EAAE,OAAO;QACb,IAAI,EAAE,SAAS;QACf,WAAW,EACT,6EAA6E;QAC/E,OAAO,EAAE,GAAG,EAAE,GAAE,CAAC;KAClB,CAAC;IACF,OAAO,EAAE,OAAO,CAAC;QACf,IAAI,EAAE,SAAS;QACf,IAAI,EAAE,WAAW;QACjB,WAAW,EAAE,6BAA6B;QAC1C,OAAO,EAAE,GAAG,EAAE,GAAE,CAAC;KAClB,CAAC;IACF,IAAI,EAAE,OAAO,CAAC;QACZ,IAAI,EAAE,MAAM;QACZ,OAAO,EAAE,CAAC,GAAG,CAAC;QACd,IAAI,EAAE,QAAQ;QACd,WAAW,EAAE,yBAAyB;QACtC,OAAO,EAAE,GAAG,EAAE,GAAE,CAAC;KAClB,CAAC;IACF,cAAc,EAAE,OAAO,CAAC;QACtB,IAAI,EAAE,cAAc;QACpB,IAAI,EAAE,eAAe;QACrB,WAAW,EAAE,gDAAgD;QAC7D,OAAO,EAAE,GAAG,EAAE,GAAE,CAAC;KAClB,CAAC;IACF,OAAO,EAAE,OAAO,CAAC;QACf,IAAI,EAAE,SAAS;QACf,OAAO,EAAE,CAAC,IAAI,CAAC;QACf,IAAI,EAAE,WAAW;QACjB,WAAW,EAAE,mBAAmB;QAChC,OAAO,EAAE,GAAG,EAAE,GAAE,CAAC;KAClB,CAAC;IACF,OAAO,EAAE,OAAO,CAAC;QACf,IAAI,EAAE,SAAS;QACf,IAAI,EAAE,WAAW;QACjB,WAAW,EAAE,gBAAgB;QAC7B,OAAO,EAAE,GAAG,EAAE,GAAE,CAAC;KAClB,CAAC;IACF,WAAW,EAAE,OAAO,CAAC;QACnB,IAAI,EAAE,aAAa;QACnB,OAAO,EAAE,CAAC,SAAS,CAAC;QACpB,IAAI,EAAE,eAAe;QACrB,WAAW,EAAE,0BAA0B;QACvC,OAAO,EAAE,GAAG,EAAE,GAAE,CAAC;KAClB,CAAC;IACF,KAAK,EAAE,OAAO,CAAC;QACb,IAAI,EAAE,OAAO;QACb,IAAI,EAAE,SAAS;QACf,WAAW,EAAE,qDAAqD;QAClE,OAAO,EAAE,GAAG,EAAE,GAAE,CAAC;KAClB,CAAC;IACF,OAAO,EAAE,OAAO,CAAC;QACf,IAAI,EAAE,SAAS;QACf,OAAO,EAAE,CAAC,KAAK,EAAE,GAAG,CAAC;QACrB,IAAI,EAAE,WAAW;QACjB,WAAW,EAAE,iCAAiC;QAC9C,OAAO,EAAE,GAAG,EAAE,GAAE,CAAC;KAClB,CAAC;IACF,SAAS,EAAE,OAAO,CAAC;QACjB,IAAI,EAAE,WAAW;QACjB,OAAO,EAAE,CAAC,QAAQ,CAAC;QACnB,IAAI,EAAE,aAAa;QACnB,WAAW,EAAE,mCAAmC;QAChD,OAAO,EAAE,GAAG,EAAE,GAAE,CAAC;KAClB,CAAC;CACH,CAAC;AAEF,MAAM,CAAC,MAAM,iBAAiB,GAAG,MAAM,CAAC,MAAM,CAAC,iBAAiB,CAAC,CAAC,OAAO,CACvE,CAAC,GAAG,EAAE,EAAE;IACN,OAAO,CAAC,GAAG,CAAC,IAAI,EAAE,GAAG,CAAC,GAAG,CAAC,OAAO,IAAI,EAAE,CAAC,CAAC,CAAC;AAC5C,CAAC,CACF,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export declare const inspectArgs: {
|
|
2
|
+
debug: Partial<import("cmd-ts/dist/cjs/argparser.js").Register> & {
|
|
3
|
+
parse(context: import("cmd-ts/dist/cjs/argparser.js").ParseContext): Promise<import("cmd-ts/dist/cjs/argparser.js").ParsingResult<boolean | undefined>>;
|
|
4
|
+
} & import("cmd-ts/dist/cjs/helpdoc.js").ProvidesHelp & import("cmd-ts/dist/cjs/argparser.js").Register & Partial<import("cmd-ts/dist/cjs/helpdoc.js").Descriptive>;
|
|
5
|
+
packageName: Partial<import("cmd-ts/dist/cjs/argparser.js").Register> & {
|
|
6
|
+
parse(context: import("cmd-ts/dist/cjs/argparser.js").ParseContext): Promise<import("cmd-ts/dist/cjs/argparser.js").ParsingResult<string>>;
|
|
7
|
+
} & import("cmd-ts/dist/cjs/helpdoc.js").ProvidesHelp & Partial<import("cmd-ts/dist/cjs/helpdoc.js").Descriptive>;
|
|
8
|
+
};
|
|
9
|
+
//# sourceMappingURL=inspect.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"inspect.d.ts","sourceRoot":"","sources":["../../../clis/args/inspect.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,WAAW;;;;;;;CAOvB,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { positional, string } from "cmd-ts";
|
|
2
|
+
import { debugArgs } from "./common.js";
|
|
3
|
+
export const inspectArgs = {
|
|
4
|
+
packageName: positional({
|
|
5
|
+
type: string,
|
|
6
|
+
displayName: "package-name",
|
|
7
|
+
description: "The name of the package to inspect",
|
|
8
|
+
}),
|
|
9
|
+
...debugArgs,
|
|
10
|
+
};
|
|
11
|
+
//# sourceMappingURL=inspect.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"inspect.js","sourceRoot":"","sources":["../../../clis/args/inspect.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAC5C,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAExC,MAAM,CAAC,MAAM,WAAW,GAAG;IACzB,WAAW,EAAE,UAAU,CAAC;QACtB,IAAI,EAAE,MAAM;QACZ,WAAW,EAAE,cAAc;QAC3B,WAAW,EAAE,oCAAoC;KAClD,CAAC;IACF,GAAG,SAAS;CACb,CAAC"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
export declare const installArgs: {
|
|
2
|
+
debug: Partial<import("cmd-ts/dist/cjs/argparser.js").Register> & {
|
|
3
|
+
parse(context: import("cmd-ts/dist/cjs/argparser.js").ParseContext): Promise<import("cmd-ts/dist/cjs/argparser.js").ParsingResult<boolean | undefined>>;
|
|
4
|
+
} & import("cmd-ts/dist/cjs/helpdoc.js").ProvidesHelp & import("cmd-ts/dist/cjs/argparser.js").Register & Partial<import("cmd-ts/dist/cjs/helpdoc.js").Descriptive>;
|
|
5
|
+
packageManager: Partial<import("cmd-ts/dist/cjs/argparser.js").Register> & {
|
|
6
|
+
parse(context: import("cmd-ts/dist/cjs/argparser.js").ParseContext): Promise<import("cmd-ts/dist/cjs/argparser.js").ParsingResult<import("package-manager-detector").Agent | undefined>>;
|
|
7
|
+
} & import("cmd-ts/dist/cjs/helpdoc.js").ProvidesHelp & Partial<import("cmd-ts/dist/cjs/helpdoc.js").Descriptive>;
|
|
8
|
+
npm: Partial<import("cmd-ts/dist/cjs/argparser.js").Register> & {
|
|
9
|
+
parse(context: import("cmd-ts/dist/cjs/argparser.js").ParseContext): Promise<import("cmd-ts/dist/cjs/argparser.js").ParsingResult<boolean | undefined>>;
|
|
10
|
+
} & import("cmd-ts/dist/cjs/helpdoc.js").ProvidesHelp & import("cmd-ts/dist/cjs/argparser.js").Register & Partial<import("cmd-ts/dist/cjs/helpdoc.js").Descriptive>;
|
|
11
|
+
pnpm: Partial<import("cmd-ts/dist/cjs/argparser.js").Register> & {
|
|
12
|
+
parse(context: import("cmd-ts/dist/cjs/argparser.js").ParseContext): Promise<import("cmd-ts/dist/cjs/argparser.js").ParsingResult<boolean | undefined>>;
|
|
13
|
+
} & import("cmd-ts/dist/cjs/helpdoc.js").ProvidesHelp & import("cmd-ts/dist/cjs/argparser.js").Register & Partial<import("cmd-ts/dist/cjs/helpdoc.js").Descriptive>;
|
|
14
|
+
yarn: Partial<import("cmd-ts/dist/cjs/argparser.js").Register> & {
|
|
15
|
+
parse(context: import("cmd-ts/dist/cjs/argparser.js").ParseContext): Promise<import("cmd-ts/dist/cjs/argparser.js").ParsingResult<boolean | undefined>>;
|
|
16
|
+
} & import("cmd-ts/dist/cjs/helpdoc.js").ProvidesHelp & import("cmd-ts/dist/cjs/argparser.js").Register & Partial<import("cmd-ts/dist/cjs/helpdoc.js").Descriptive>;
|
|
17
|
+
bun: Partial<import("cmd-ts/dist/cjs/argparser.js").Register> & {
|
|
18
|
+
parse(context: import("cmd-ts/dist/cjs/argparser.js").ParseContext): Promise<import("cmd-ts/dist/cjs/argparser.js").ParsingResult<boolean | undefined>>;
|
|
19
|
+
} & import("cmd-ts/dist/cjs/helpdoc.js").ProvidesHelp & import("cmd-ts/dist/cjs/argparser.js").Register & Partial<import("cmd-ts/dist/cjs/helpdoc.js").Descriptive>;
|
|
20
|
+
dependencies: Partial<import("cmd-ts/dist/cjs/argparser.js").Register> & {
|
|
21
|
+
parse(context: import("cmd-ts/dist/cjs/argparser.js").ParseContext): Promise<import("cmd-ts/dist/cjs/argparser.js").ParsingResult<string[]>>;
|
|
22
|
+
} & import("cmd-ts/dist/cjs/helpdoc.js").ProvidesHelp;
|
|
23
|
+
};
|
|
24
|
+
//# sourceMappingURL=install.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"install.d.ts","sourceRoot":"","sources":["../../../clis/args/install.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;CAQvB,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { restPositionals, string } from "cmd-ts";
|
|
2
|
+
import { debugArgs, packageManagerArgs } from "./common.js";
|
|
3
|
+
export const installArgs = {
|
|
4
|
+
dependencies: restPositionals({
|
|
5
|
+
type: string,
|
|
6
|
+
displayName: "dependencies",
|
|
7
|
+
description: "Names of the dependencies to install",
|
|
8
|
+
}),
|
|
9
|
+
...packageManagerArgs,
|
|
10
|
+
...debugArgs,
|
|
11
|
+
};
|
|
12
|
+
//# sourceMappingURL=install.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"install.js","sourceRoot":"","sources":["../../../clis/args/install.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AACjD,OAAO,EAAE,SAAS,EAAE,kBAAkB,EAAE,MAAM,aAAa,CAAC;AAE5D,MAAM,CAAC,MAAM,WAAW,GAAG;IACzB,YAAY,EAAE,eAAe,CAAC;QAC5B,IAAI,EAAE,MAAM;QACZ,WAAW,EAAE,cAAc;QAC3B,WAAW,EAAE,sCAAsC;KACpD,CAAC;IACF,GAAG,kBAAkB;IACrB,GAAG,SAAS;CACb,CAAC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export declare const listArgs: {
|
|
2
|
+
debug: Partial<import("cmd-ts/dist/cjs/argparser.js").Register> & {
|
|
3
|
+
parse(context: import("cmd-ts/dist/cjs/argparser.js").ParseContext): Promise<import("cmd-ts/dist/cjs/argparser.js").ParsingResult<boolean | undefined>>;
|
|
4
|
+
} & import("cmd-ts/dist/cjs/helpdoc.js").ProvidesHelp & import("cmd-ts/dist/cjs/argparser.js").Register & Partial<import("cmd-ts/dist/cjs/helpdoc.js").Descriptive>;
|
|
5
|
+
};
|
|
6
|
+
//# sourceMappingURL=list.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list.d.ts","sourceRoot":"","sources":["../../../clis/args/list.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,QAAQ;;;;CAEpB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list.js","sourceRoot":"","sources":["../../../clis/args/list.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAExC,MAAM,CAAC,MAAM,QAAQ,GAAG;IACtB,GAAG,SAAS;CACb,CAAC"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
export declare const loginArgs: {
|
|
2
|
+
debug: Partial<import("cmd-ts/dist/cjs/argparser.js").Register> & {
|
|
3
|
+
parse(context: import("cmd-ts/dist/cjs/argparser.js").ParseContext): Promise<import("cmd-ts/dist/cjs/argparser.js").ParsingResult<boolean | undefined>>;
|
|
4
|
+
} & import("cmd-ts/dist/cjs/helpdoc.js").ProvidesHelp & import("cmd-ts/dist/cjs/argparser.js").Register & Partial<import("cmd-ts/dist/cjs/helpdoc.js").Descriptive>;
|
|
5
|
+
renownUrl: Partial<import("cmd-ts/dist/cjs/argparser.js").Register> & {
|
|
6
|
+
parse(context: import("cmd-ts/dist/cjs/argparser.js").ParseContext): Promise<import("cmd-ts/dist/cjs/argparser.js").ParsingResult<string>>;
|
|
7
|
+
} & import("cmd-ts/dist/cjs/helpdoc.js").ProvidesHelp & Partial<import("cmd-ts/dist/cjs/helpdoc.js").Descriptive>;
|
|
8
|
+
timeout: Partial<import("cmd-ts/dist/cjs/argparser.js").Register> & {
|
|
9
|
+
parse(context: import("cmd-ts/dist/cjs/argparser.js").ParseContext): Promise<import("cmd-ts/dist/cjs/argparser.js").ParsingResult<number>>;
|
|
10
|
+
} & import("cmd-ts/dist/cjs/helpdoc.js").ProvidesHelp & Partial<import("cmd-ts/dist/cjs/helpdoc.js").Descriptive>;
|
|
11
|
+
logout: Partial<import("cmd-ts/dist/cjs/argparser.js").Register> & {
|
|
12
|
+
parse(context: import("cmd-ts/dist/cjs/argparser.js").ParseContext): Promise<import("cmd-ts/dist/cjs/argparser.js").ParsingResult<boolean | undefined>>;
|
|
13
|
+
} & import("cmd-ts/dist/cjs/helpdoc.js").ProvidesHelp & import("cmd-ts/dist/cjs/argparser.js").Register & Partial<import("cmd-ts/dist/cjs/helpdoc.js").Descriptive>;
|
|
14
|
+
status: Partial<import("cmd-ts/dist/cjs/argparser.js").Register> & {
|
|
15
|
+
parse(context: import("cmd-ts/dist/cjs/argparser.js").ParseContext): Promise<import("cmd-ts/dist/cjs/argparser.js").ParsingResult<boolean | undefined>>;
|
|
16
|
+
} & import("cmd-ts/dist/cjs/helpdoc.js").ProvidesHelp & import("cmd-ts/dist/cjs/argparser.js").Register & Partial<import("cmd-ts/dist/cjs/helpdoc.js").Descriptive>;
|
|
17
|
+
showDid: Partial<import("cmd-ts/dist/cjs/argparser.js").Register> & {
|
|
18
|
+
parse(context: import("cmd-ts/dist/cjs/argparser.js").ParseContext): Promise<import("cmd-ts/dist/cjs/argparser.js").ParsingResult<boolean | undefined>>;
|
|
19
|
+
} & import("cmd-ts/dist/cjs/helpdoc.js").ProvidesHelp & import("cmd-ts/dist/cjs/argparser.js").Register & Partial<import("cmd-ts/dist/cjs/helpdoc.js").Descriptive>;
|
|
20
|
+
};
|
|
21
|
+
//# sourceMappingURL=login.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"login.d.ts","sourceRoot":"","sources":["../../../clis/args/login.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;CAgCrB,CAAC"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { boolean, flag, number, option, optional, string } from "cmd-ts";
|
|
2
|
+
import { debugArgs } from "./common.js";
|
|
3
|
+
import { DEFAULT_RENOWN_URL, DEFAULT_TIMEOUT } from "../constants.js";
|
|
4
|
+
export const loginArgs = {
|
|
5
|
+
renownUrl: option({
|
|
6
|
+
type: string,
|
|
7
|
+
long: "renown-url",
|
|
8
|
+
defaultValue: () => DEFAULT_RENOWN_URL,
|
|
9
|
+
description: `Renown server URL.`,
|
|
10
|
+
defaultValueIsSerializable: true,
|
|
11
|
+
env: "PH_CONNECT_RENOWN_URL",
|
|
12
|
+
}),
|
|
13
|
+
timeout: option({
|
|
14
|
+
type: number,
|
|
15
|
+
long: "timeout",
|
|
16
|
+
defaultValue: () => DEFAULT_TIMEOUT,
|
|
17
|
+
description: "Authentication timeout in seconds.",
|
|
18
|
+
defaultValueIsSerializable: true,
|
|
19
|
+
}),
|
|
20
|
+
logout: flag({
|
|
21
|
+
type: optional(boolean),
|
|
22
|
+
long: "logout",
|
|
23
|
+
description: "Sign out and clear stored credentials",
|
|
24
|
+
}),
|
|
25
|
+
status: flag({
|
|
26
|
+
type: optional(boolean),
|
|
27
|
+
long: "status",
|
|
28
|
+
description: "Show current authentication status",
|
|
29
|
+
}),
|
|
30
|
+
showDid: flag({
|
|
31
|
+
type: optional(boolean),
|
|
32
|
+
long: "show-did",
|
|
33
|
+
description: "Show the CLI's DID and exit",
|
|
34
|
+
}),
|
|
35
|
+
...debugArgs,
|
|
36
|
+
};
|
|
37
|
+
//# sourceMappingURL=login.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"login.js","sourceRoot":"","sources":["../../../clis/args/login.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AACzE,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,kBAAkB,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAEtE,MAAM,CAAC,MAAM,SAAS,GAAG;IACvB,SAAS,EAAE,MAAM,CAAC;QAChB,IAAI,EAAE,MAAM;QACZ,IAAI,EAAE,YAAY;QAClB,YAAY,EAAE,GAAG,EAAE,CAAC,kBAAkB;QACtC,WAAW,EAAE,oBAAoB;QACjC,0BAA0B,EAAE,IAAI;QAChC,GAAG,EAAE,uBAAuB;KAC7B,CAAC;IACF,OAAO,EAAE,MAAM,CAAC;QACd,IAAI,EAAE,MAAM;QACZ,IAAI,EAAE,SAAS;QACf,YAAY,EAAE,GAAG,EAAE,CAAC,eAAe;QACnC,WAAW,EAAE,oCAAoC;QACjD,0BAA0B,EAAE,IAAI;KACjC,CAAC;IACF,MAAM,EAAE,IAAI,CAAC;QACX,IAAI,EAAE,QAAQ,CAAC,OAAO,CAAC;QACvB,IAAI,EAAE,QAAQ;QACd,WAAW,EAAE,uCAAuC;KACrD,CAAC;IACF,MAAM,EAAE,IAAI,CAAC;QACX,IAAI,EAAE,QAAQ,CAAC,OAAO,CAAC;QACvB,IAAI,EAAE,QAAQ;QACd,WAAW,EAAE,oCAAoC;KAClD,CAAC;IACF,OAAO,EAAE,IAAI,CAAC;QACZ,IAAI,EAAE,QAAQ,CAAC,OAAO,CAAC;QACvB,IAAI,EAAE,UAAU;QAChB,WAAW,EAAE,6BAA6B;KAC3C,CAAC;IACF,GAAG,SAAS;CACb,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export declare const migrateArgs: {
|
|
2
|
+
debug: Partial<import("cmd-ts/dist/cjs/argparser.js").Register> & {
|
|
3
|
+
parse(context: import("cmd-ts/dist/cjs/argparser.js").ParseContext): Promise<import("cmd-ts/dist/cjs/argparser.js").ParsingResult<boolean | undefined>>;
|
|
4
|
+
} & import("cmd-ts/dist/cjs/helpdoc.js").ProvidesHelp & import("cmd-ts/dist/cjs/argparser.js").Register & Partial<import("cmd-ts/dist/cjs/helpdoc.js").Descriptive>;
|
|
5
|
+
useHygen: Partial<import("cmd-ts/dist/cjs/argparser.js").Register> & {
|
|
6
|
+
parse(context: import("cmd-ts/dist/cjs/argparser.js").ParseContext): Promise<import("cmd-ts/dist/cjs/argparser.js").ParsingResult<boolean>>;
|
|
7
|
+
} & import("cmd-ts/dist/cjs/helpdoc.js").ProvidesHelp & import("cmd-ts/dist/cjs/argparser.js").Register & Partial<import("cmd-ts/dist/cjs/helpdoc.js").Descriptive>;
|
|
8
|
+
};
|
|
9
|
+
//# sourceMappingURL=migrate.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"migrate.d.ts","sourceRoot":"","sources":["../../../clis/args/migrate.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,WAAW;;;;;;;CAGvB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"migrate.js","sourceRoot":"","sources":["../../../clis/args/migrate.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAElD,MAAM,CAAC,MAAM,WAAW,GAAG;IACzB,QAAQ;IACR,GAAG,SAAS;CACb,CAAC"}
|