@pmate/cli 0.21.1 → 0.21.3

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.
Files changed (3) hide show
  1. package/dist/index.d.ts +38 -2
  2. package/dist/index.js +2812 -5754
  3. package/package.json +1 -1
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";
@@ -617,7 +654,6 @@ type ServiceCommandArgs = {
617
654
  action: "deploy";
618
655
  namespace: string;
619
656
  name: string;
620
- cwd?: string;
621
657
  baseUrl?: string;
622
658
  json: boolean;
623
659
  } | {
@@ -653,7 +689,7 @@ type VercelDeploysCommandArgs = {
653
689
  lastWeek: boolean;
654
690
  };
655
691
  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;
692
+ 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
693
 
658
694
  interface ParsedArgs {
659
695
  help: boolean;