@pmate/cli 0.21.1 → 0.21.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 CHANGED
@@ -22,6 +22,7 @@ declare enum Command {
22
22
  Random = "random",
23
23
  Collect = "collect",
24
24
  Agent = "agent",
25
+ Runner = "runner",
25
26
  Ns = "ns",
26
27
  Role = "role",
27
28
  Account = "account",
@@ -446,6 +447,42 @@ type AgentCommandArgs = {
446
447
  baseUrl?: string;
447
448
  json: boolean;
448
449
  };
450
+ type RunnerCommandArgs = {
451
+ type: Command.Runner;
452
+ action: "list";
453
+ namespace?: string;
454
+ baseUrl?: string;
455
+ json: boolean;
456
+ } | {
457
+ type: Command.Runner;
458
+ action: "get" | "view";
459
+ namespace: string;
460
+ name: string;
461
+ baseUrl?: string;
462
+ json: boolean;
463
+ } | {
464
+ type: Command.Runner;
465
+ action: "create";
466
+ namespace: string;
467
+ filePath: string;
468
+ baseUrl?: string;
469
+ json: boolean;
470
+ } | {
471
+ type: Command.Runner;
472
+ action: "update";
473
+ namespace: string;
474
+ name: string;
475
+ filePath: string;
476
+ baseUrl?: string;
477
+ json: boolean;
478
+ } | {
479
+ type: Command.Runner;
480
+ action: "delete";
481
+ namespace: string;
482
+ name: string;
483
+ baseUrl?: string;
484
+ json: boolean;
485
+ };
449
486
  type NsCommandArgs = {
450
487
  type: Command.Ns;
451
488
  action: "list";
@@ -653,7 +690,7 @@ type VercelDeploysCommandArgs = {
653
690
  lastWeek: boolean;
654
691
  };
655
692
  type VercelCommandArgs = VercelProjectsCommandArgs | VercelDeploysCommandArgs;
656
- type CommandArgs = NoneCommandArgs | ListCommandArgs | LoginCommandArgs | AddDnsCommandArgs | StsCommandArgs | BucketCommandArgs | DeployCommandArgs | LogCommandArgs | InitCommandArgs | DeleteCommandArgs | DevCommandArgs | EnvCommandArgs | PrCommandArgs | CommitCommandArgs | SummaryCommandArgs | QuizCommandArgs | ServiceCommandArgs | LinearCommandArgs | NotionCommandArgs | OssCommandArgs | QrcodeCommandArgs | RandomCommandArgs | CollectCommandArgs | AgentCommandArgs | NsCommandArgs | RoleCommandArgs | AccountCommandArgs | StoreCommandArgs | AppCommandArgs | VercelCommandArgs;
693
+ type CommandArgs = NoneCommandArgs | ListCommandArgs | LoginCommandArgs | AddDnsCommandArgs | StsCommandArgs | BucketCommandArgs | DeployCommandArgs | LogCommandArgs | InitCommandArgs | DeleteCommandArgs | DevCommandArgs | EnvCommandArgs | PrCommandArgs | CommitCommandArgs | SummaryCommandArgs | QuizCommandArgs | ServiceCommandArgs | LinearCommandArgs | NotionCommandArgs | OssCommandArgs | QrcodeCommandArgs | RandomCommandArgs | CollectCommandArgs | AgentCommandArgs | RunnerCommandArgs | NsCommandArgs | RoleCommandArgs | AccountCommandArgs | StoreCommandArgs | AppCommandArgs | VercelCommandArgs;
657
694
 
658
695
  interface ParsedArgs {
659
696
  help: boolean;