@pmate/cli 0.16.0 → 0.16.2
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 +23 -1
- package/dist/index.js +586 -293
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -21,6 +21,7 @@ declare enum Command {
|
|
|
21
21
|
Random = "random",
|
|
22
22
|
Collect = "collect",
|
|
23
23
|
Agent = "agent",
|
|
24
|
+
Ns = "ns",
|
|
24
25
|
Store = "store",
|
|
25
26
|
App = "app",
|
|
26
27
|
Vercel = "vercel"
|
|
@@ -305,6 +306,27 @@ type AgentCommandArgs = {
|
|
|
305
306
|
baseUrl?: string;
|
|
306
307
|
json: boolean;
|
|
307
308
|
};
|
|
309
|
+
type NsCommandArgs = {
|
|
310
|
+
type: Command.Ns;
|
|
311
|
+
action: "list";
|
|
312
|
+
chain: string;
|
|
313
|
+
baseUrl?: string;
|
|
314
|
+
json: boolean;
|
|
315
|
+
} | {
|
|
316
|
+
type: Command.Ns;
|
|
317
|
+
action: "get";
|
|
318
|
+
chain: string;
|
|
319
|
+
namespace: string;
|
|
320
|
+
baseUrl?: string;
|
|
321
|
+
json: boolean;
|
|
322
|
+
} | {
|
|
323
|
+
type: Command.Ns;
|
|
324
|
+
action: "create";
|
|
325
|
+
chain: string;
|
|
326
|
+
namespace: string;
|
|
327
|
+
baseUrl?: string;
|
|
328
|
+
json: boolean;
|
|
329
|
+
};
|
|
308
330
|
type StoreSharedArgs = {
|
|
309
331
|
chain: string;
|
|
310
332
|
namespace: string;
|
|
@@ -399,7 +421,7 @@ type VercelDeploysCommandArgs = {
|
|
|
399
421
|
lastWeek: boolean;
|
|
400
422
|
};
|
|
401
423
|
type VercelCommandArgs = VercelProjectsCommandArgs | VercelDeploysCommandArgs;
|
|
402
|
-
type CommandArgs = NoneCommandArgs | ListCommandArgs | LoginCommandArgs | AddDnsCommandArgs | StsCommandArgs | BucketCommandArgs | DeployCommandArgs | LogCommandArgs | InitCommandArgs | DevCommandArgs | EnvCommandArgs | PrCommandArgs | CommitCommandArgs | SummaryCommandArgs | LinearCommandArgs | NotionCommandArgs | OssCommandArgs | QrcodeCommandArgs | RandomCommandArgs | CollectCommandArgs | AgentCommandArgs | StoreCommandArgs | AppCommandArgs | VercelCommandArgs;
|
|
424
|
+
type CommandArgs = NoneCommandArgs | ListCommandArgs | LoginCommandArgs | AddDnsCommandArgs | StsCommandArgs | BucketCommandArgs | DeployCommandArgs | LogCommandArgs | InitCommandArgs | DevCommandArgs | EnvCommandArgs | PrCommandArgs | CommitCommandArgs | SummaryCommandArgs | LinearCommandArgs | NotionCommandArgs | OssCommandArgs | QrcodeCommandArgs | RandomCommandArgs | CollectCommandArgs | AgentCommandArgs | NsCommandArgs | StoreCommandArgs | AppCommandArgs | VercelCommandArgs;
|
|
403
425
|
|
|
404
426
|
interface ParsedArgs {
|
|
405
427
|
help: boolean;
|