@proletariat/cli 0.3.33 → 0.3.34
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/commands/action/create.d.ts +1 -0
- package/dist/commands/action/delete.d.ts +1 -0
- package/dist/commands/action/index.d.ts +1 -0
- package/dist/commands/action/list.d.ts +1 -0
- package/dist/commands/action/list.js +0 -6
- package/dist/commands/action/run.d.ts +1 -0
- package/dist/commands/action/show.d.ts +1 -0
- package/dist/commands/action/update.d.ts +1 -0
- package/dist/commands/agent/auth.d.ts +2 -1
- package/dist/commands/agent/auth.js +2 -6
- package/dist/commands/agent/cleanup.d.ts +2 -1
- package/dist/commands/agent/cleanup.js +0 -6
- package/dist/commands/agent/discover.d.ts +2 -1
- package/dist/commands/agent/discover.js +2 -6
- package/dist/commands/agent/index.d.ts +1 -0
- package/dist/commands/agent/index.js +0 -7
- package/dist/commands/agent/list.d.ts +1 -0
- package/dist/commands/agent/login.d.ts +1 -0
- package/dist/commands/agent/login.js +1 -7
- package/dist/commands/agent/rebuild.d.ts +2 -1
- package/dist/commands/agent/rebuild.js +0 -6
- package/dist/commands/agent/remove.d.ts +2 -1
- package/dist/commands/agent/remove.js +0 -6
- package/dist/commands/agent/restart.d.ts +1 -0
- package/dist/commands/agent/restart.js +1 -7
- package/dist/commands/agent/shell.d.ts +1 -0
- package/dist/commands/agent/shell.js +1 -7
- package/dist/commands/agent/status.d.ts +1 -0
- package/dist/commands/agent/status.js +1 -7
- package/dist/commands/agent/visit.d.ts +1 -0
- package/dist/commands/agent/visit.js +1 -7
- package/dist/commands/autocomplete/setup.d.ts +1 -0
- package/dist/commands/board/index.d.ts +1 -0
- package/dist/commands/board/view.d.ts +1 -0
- package/dist/commands/board/watch.d.ts +1 -0
- package/dist/commands/branch/create.d.ts +1 -0
- package/dist/commands/branch/create.js +0 -6
- package/dist/commands/branch/index.d.ts +1 -0
- package/dist/commands/branch/index.js +0 -7
- package/dist/commands/branch/list.d.ts +1 -0
- package/dist/commands/branch/validate.d.ts +1 -0
- package/dist/commands/branch/where.d.ts +1 -0
- package/dist/commands/branch/where.js +3 -9
- package/dist/commands/category/create.d.ts +1 -0
- package/dist/commands/category/delete.d.ts +1 -0
- package/dist/commands/category/index.d.ts +1 -0
- package/dist/commands/category/list.d.ts +1 -0
- package/dist/commands/category/list.js +1 -1
- package/dist/commands/category/rename.d.ts +1 -0
- package/dist/commands/claude.d.ts +2 -1
- package/dist/commands/claude.js +2 -6
- package/dist/commands/commit.d.ts +2 -1
- package/dist/commands/commit.js +2 -6
- package/dist/commands/config/index.d.ts +2 -1
- package/dist/commands/config/index.js +3 -7
- package/dist/commands/diet.d.ts +1 -0
- package/dist/commands/docker/clean.d.ts +1 -0
- package/dist/commands/docker/index.d.ts +1 -0
- package/dist/commands/docker/list.d.ts +1 -0
- package/dist/commands/docker/logs.d.ts +2 -0
- package/dist/commands/docker/logs.js +2 -0
- package/dist/commands/docker/prune.d.ts +1 -0
- package/dist/commands/docker/restart.d.ts +1 -0
- package/dist/commands/docker/shell.d.ts +2 -0
- package/dist/commands/docker/shell.js +2 -0
- package/dist/commands/docker/start.d.ts +2 -0
- package/dist/commands/docker/start.js +2 -0
- package/dist/commands/docker/status.d.ts +1 -0
- package/dist/commands/docker/stop.d.ts +1 -0
- package/dist/commands/epic/activate.d.ts +1 -0
- package/dist/commands/epic/activate.js +1 -7
- package/dist/commands/epic/archive.d.ts +2 -1
- package/dist/commands/epic/archive.js +0 -6
- package/dist/commands/epic/create.d.ts +2 -1
- package/dist/commands/epic/create.js +0 -6
- package/dist/commands/epic/delete.d.ts +1 -0
- package/dist/commands/epic/index.d.ts +1 -0
- package/dist/commands/epic/index.js +0 -7
- package/dist/commands/epic/list.d.ts +1 -0
- package/dist/commands/epic/move.d.ts +2 -1
- package/dist/commands/epic/move.js +0 -6
- package/dist/commands/epic/progress.d.ts +2 -1
- package/dist/commands/epic/progress.js +0 -6
- package/dist/commands/epic/project.d.ts +2 -1
- package/dist/commands/epic/project.js +0 -6
- package/dist/commands/epic/reorder.d.ts +1 -0
- package/dist/commands/epic/reorder.js +0 -6
- package/dist/commands/epic/spec.d.ts +2 -1
- package/dist/commands/epic/spec.js +0 -6
- package/dist/commands/epic/ticket.d.ts +2 -1
- package/dist/commands/epic/ticket.js +0 -6
- package/dist/commands/epic/view.d.ts +1 -0
- package/dist/commands/epic/view.js +1 -7
- package/dist/commands/execution/config.d.ts +2 -1
- package/dist/commands/execution/config.js +1 -7
- package/dist/commands/execution/index.d.ts +1 -0
- package/dist/commands/execution/index.js +1 -8
- package/dist/commands/execution/list.d.ts +1 -0
- package/dist/commands/execution/logs.d.ts +1 -0
- package/dist/commands/execution/logs.js +1 -7
- package/dist/commands/execution/stop.d.ts +1 -0
- package/dist/commands/execution/stop.js +1 -7
- package/dist/commands/execution/view.d.ts +1 -0
- package/dist/commands/execution/view.js +2 -8
- package/dist/commands/feedback/index.d.ts +1 -0
- package/dist/commands/feedback/list.d.ts +1 -0
- package/dist/commands/feedback/submit.d.ts +1 -0
- package/dist/commands/feedback/view.d.ts +1 -0
- package/dist/commands/gh/index.d.ts +1 -0
- package/dist/commands/gh/login.d.ts +1 -0
- package/dist/commands/gh/status.d.ts +1 -0
- package/dist/commands/gh/token.d.ts +1 -0
- package/dist/commands/init.d.ts +2 -1
- package/dist/commands/init.js +3 -8
- package/dist/commands/link/create.d.ts +1 -0
- package/dist/commands/link/create.js +0 -6
- package/dist/commands/link/index.d.ts +1 -0
- package/dist/commands/link/index.js +1 -7
- package/dist/commands/link/list.d.ts +1 -0
- package/dist/commands/link/list.js +0 -6
- package/dist/commands/link/remove.d.ts +1 -0
- package/dist/commands/link/remove.js +0 -6
- package/dist/commands/phase/create.d.ts +1 -0
- package/dist/commands/phase/create.js +1 -1
- package/dist/commands/phase/delete.d.ts +1 -0
- package/dist/commands/phase/delete.js +1 -1
- package/dist/commands/phase/list.d.ts +1 -0
- package/dist/commands/phase/move.d.ts +1 -0
- package/dist/commands/phase/move.js +2 -2
- package/dist/commands/phase/update.d.ts +1 -0
- package/dist/commands/phase/update.js +2 -2
- package/dist/commands/pmo/init.d.ts +4 -3
- package/dist/commands/pmo/init.js +2 -7
- package/dist/commands/pr/create.d.ts +1 -0
- package/dist/commands/pr/index.d.ts +1 -0
- package/dist/commands/pr/link.d.ts +1 -0
- package/dist/commands/pr/list.d.ts +1 -0
- package/dist/commands/pr/status.d.ts +1 -0
- package/dist/commands/priority/add.d.ts +1 -0
- package/dist/commands/priority/list.d.ts +1 -0
- package/dist/commands/priority/remove.d.ts +1 -0
- package/dist/commands/priority/set.d.ts +1 -0
- package/dist/commands/project/archive.d.ts +1 -0
- package/dist/commands/project/create.d.ts +1 -0
- package/dist/commands/project/delete.d.ts +1 -0
- package/dist/commands/project/index.d.ts +1 -0
- package/dist/commands/project/list.d.ts +1 -0
- package/dist/commands/project/spec.d.ts +1 -0
- package/dist/commands/project/unarchive.d.ts +1 -0
- package/dist/commands/project/update.d.ts +1 -0
- package/dist/commands/project/view.d.ts +1 -0
- package/dist/commands/pull.d.ts +1 -0
- package/dist/commands/repo/add.d.ts +1 -0
- package/dist/commands/repo/add.js +0 -6
- package/dist/commands/repo/create.d.ts +1 -0
- package/dist/commands/repo/index.d.ts +1 -0
- package/dist/commands/repo/list.d.ts +1 -0
- package/dist/commands/repo/remove.d.ts +1 -0
- package/dist/commands/repo/view.d.ts +1 -0
- package/dist/commands/roadmap/add-project.d.ts +1 -0
- package/dist/commands/roadmap/add-project.js +0 -6
- package/dist/commands/roadmap/create.d.ts +1 -0
- package/dist/commands/roadmap/create.js +0 -6
- package/dist/commands/roadmap/delete.d.ts +1 -0
- package/dist/commands/roadmap/delete.js +0 -6
- package/dist/commands/roadmap/generate.d.ts +1 -0
- package/dist/commands/roadmap/generate.js +0 -6
- package/dist/commands/roadmap/index.d.ts +1 -0
- package/dist/commands/roadmap/index.js +0 -7
- package/dist/commands/roadmap/list.d.ts +1 -0
- package/dist/commands/roadmap/remove-project.d.ts +1 -0
- package/dist/commands/roadmap/remove-project.js +0 -6
- package/dist/commands/roadmap/reorder.d.ts +1 -0
- package/dist/commands/roadmap/reorder.js +0 -6
- package/dist/commands/roadmap/update.d.ts +1 -0
- package/dist/commands/roadmap/update.js +0 -6
- package/dist/commands/roadmap/view.d.ts +1 -0
- package/dist/commands/roadmap/view.js +1 -7
- package/dist/commands/session/attach.d.ts +2 -1
- package/dist/commands/session/attach.js +0 -6
- package/dist/commands/session/health.d.ts +1 -0
- package/dist/commands/session/index.d.ts +1 -0
- package/dist/commands/session/index.js +0 -7
- package/dist/commands/session/list.d.ts +1 -0
- package/dist/commands/spec/create.d.ts +1 -0
- package/dist/commands/spec/delete.d.ts +1 -0
- package/dist/commands/spec/edit.d.ts +1 -0
- package/dist/commands/spec/index.d.ts +1 -0
- package/dist/commands/spec/list.d.ts +1 -0
- package/dist/commands/spec/plan.d.ts +1 -0
- package/dist/commands/spec/ticket.d.ts +1 -0
- package/dist/commands/spec/view.d.ts +1 -0
- package/dist/commands/staff/add.d.ts +3 -2
- package/dist/commands/staff/add.js +2 -6
- package/dist/commands/staff/index.d.ts +2 -1
- package/dist/commands/staff/index.js +0 -6
- package/dist/commands/staff/list.d.ts +1 -0
- package/dist/commands/staff/remove.d.ts +2 -1
- package/dist/commands/staff/remove.js +0 -6
- package/dist/commands/status/category.d.ts +1 -0
- package/dist/commands/status/create.d.ts +1 -0
- package/dist/commands/status/delete.d.ts +1 -0
- package/dist/commands/status/index.d.ts +1 -0
- package/dist/commands/status/list.d.ts +1 -0
- package/dist/commands/status/move.d.ts +1 -0
- package/dist/commands/status/update.d.ts +1 -0
- package/dist/commands/support/book.d.ts +1 -0
- package/dist/commands/support/discord.d.ts +1 -0
- package/dist/commands/support/docs.d.ts +1 -0
- package/dist/commands/support/index.d.ts +1 -0
- package/dist/commands/support/issues.d.ts +1 -0
- package/dist/commands/support/logs.d.ts +1 -0
- package/dist/commands/template/apply.d.ts +1 -0
- package/dist/commands/template/apply.js +0 -6
- package/dist/commands/template/create.d.ts +1 -0
- package/dist/commands/template/create.js +0 -6
- package/dist/commands/template/delete.d.ts +1 -0
- package/dist/commands/template/delete.js +0 -6
- package/dist/commands/template/index.d.ts +1 -0
- package/dist/commands/template/index.js +2 -7
- package/dist/commands/template/list.d.ts +1 -0
- package/dist/commands/template/list.js +1 -7
- package/dist/commands/template/save.d.ts +1 -0
- package/dist/commands/template/save.js +0 -6
- package/dist/commands/template/update.d.ts +1 -0
- package/dist/commands/template/update.js +0 -6
- package/dist/commands/terminal/title.d.ts +1 -0
- package/dist/commands/theme/index.d.ts +1 -0
- package/dist/commands/theme/index.js +2 -7
- package/dist/commands/theme/list.d.ts +1 -0
- package/dist/commands/theme/set.d.ts +1 -0
- package/dist/commands/theme/set.js +3 -7
- package/dist/commands/ticket/bulk.d.ts +1 -0
- package/dist/commands/ticket/bulk.js +0 -7
- package/dist/commands/ticket/category.d.ts +1 -0
- package/dist/commands/ticket/complete.d.ts +2 -1
- package/dist/commands/ticket/complete.js +2 -8
- package/dist/commands/ticket/create.d.ts +2 -1
- package/dist/commands/ticket/create.js +0 -6
- package/dist/commands/ticket/delete.d.ts +2 -1
- package/dist/commands/ticket/delete.js +0 -6
- package/dist/commands/ticket/edit.d.ts +1 -0
- package/dist/commands/ticket/edit.js +0 -6
- package/dist/commands/ticket/epic.d.ts +2 -1
- package/dist/commands/ticket/epic.js +0 -6
- package/dist/commands/ticket/index.d.ts +1 -0
- package/dist/commands/ticket/index.js +6 -9
- package/dist/commands/ticket/list.d.ts +1 -0
- package/dist/commands/ticket/move.d.ts +2 -1
- package/dist/commands/ticket/move.js +2 -8
- package/dist/commands/ticket/project.d.ts +2 -1
- package/dist/commands/ticket/project.js +0 -6
- package/dist/commands/ticket/reassign.d.ts +2 -1
- package/dist/commands/ticket/reassign.js +0 -6
- package/dist/commands/ticket/resolve.d.ts +68 -0
- package/dist/commands/ticket/resolve.js +294 -0
- package/dist/commands/ticket/spec.d.ts +2 -1
- package/dist/commands/ticket/spec.js +0 -6
- package/dist/commands/ticket/status.d.ts +1 -0
- package/dist/commands/ticket/status.js +1 -7
- package/dist/commands/ticket/update.d.ts +2 -1
- package/dist/commands/ticket/update.js +0 -6
- package/dist/commands/ticket/view.d.ts +1 -0
- package/dist/commands/ticket/view.js +1 -7
- package/dist/commands/whoami.d.ts +1 -0
- package/dist/commands/work/complete.d.ts +1 -0
- package/dist/commands/work/complete.js +1 -7
- package/dist/commands/work/index.d.ts +1 -0
- package/dist/commands/work/index.js +4 -7
- package/dist/commands/work/ready.d.ts +2 -1
- package/dist/commands/work/ready.js +21 -14
- package/dist/commands/work/resolve.d.ts +15 -0
- package/dist/commands/work/resolve.js +76 -0
- package/dist/commands/work/revise.d.ts +2 -1
- package/dist/commands/work/revise.js +0 -6
- package/dist/commands/work/spawn-all.d.ts +2 -1
- package/dist/commands/work/spawn-all.js +2 -6
- package/dist/commands/work/spawn.d.ts +2 -1
- package/dist/commands/work/spawn.js +0 -6
- package/dist/commands/work/start.d.ts +2 -1
- package/dist/commands/work/start.js +0 -6
- package/dist/commands/work/watch.d.ts +2 -1
- package/dist/commands/work/watch.js +0 -6
- package/dist/commands/workflow/create.d.ts +1 -0
- package/dist/commands/workflow/delete.d.ts +1 -0
- package/dist/commands/workflow/index.d.ts +1 -0
- package/dist/commands/workflow/index.js +1 -7
- package/dist/commands/workflow/list.d.ts +1 -0
- package/dist/commands/workflow/switch.d.ts +1 -0
- package/dist/commands/workflow/view.d.ts +1 -0
- package/dist/commands/workspace/add.d.ts +2 -0
- package/dist/commands/workspace/add.js +2 -0
- package/dist/commands/workspace/list.d.ts +1 -0
- package/dist/commands/workspace/list.js +4 -8
- package/dist/commands/workspace/prune.d.ts +1 -0
- package/dist/commands/workspace/prune.js +4 -6
- package/dist/commands/workspace/remove.d.ts +1 -0
- package/dist/commands/workspace/remove.js +3 -7
- package/dist/commands/workspace/use.d.ts +1 -0
- package/dist/commands/workspace/use.js +3 -7
- package/dist/lib/database/drizzle-schema.d.ts +1 -1
- package/dist/lib/pmo/base-command.d.ts +4 -1
- package/dist/lib/pmo/base-command.js +9 -3
- package/dist/lib/pmo/storage/base.js +69 -5
- package/dist/lib/prompt-json.d.ts +5 -2
- package/dist/lib/prompt-json.js +4 -4
- package/oclif.manifest.json +4208 -3427
- package/package.json +1 -1
|
@@ -20,12 +20,6 @@ export default class ExecutionConfig extends PMOCommand {
|
|
|
20
20
|
];
|
|
21
21
|
static flags = {
|
|
22
22
|
...pmoBaseFlags,
|
|
23
|
-
json: Flags.boolean({
|
|
24
|
-
char: 'm',
|
|
25
|
-
aliases: ['machine'],
|
|
26
|
-
description: 'Output configuration as JSON (for AI agents/scripts)',
|
|
27
|
-
default: false,
|
|
28
|
-
}),
|
|
29
23
|
set: Flags.string({
|
|
30
24
|
char: 's',
|
|
31
25
|
description: 'Set a config value (format: key value)',
|
|
@@ -107,7 +101,7 @@ export default class ExecutionConfig extends PMOCommand {
|
|
|
107
101
|
return;
|
|
108
102
|
}
|
|
109
103
|
// Handle --list or --json flag without --setting (just show config)
|
|
110
|
-
if ((flags.list || flags.json) && !flags.setting) {
|
|
104
|
+
if ((flags.list || (flags.json || flags.machine)) && !flags.setting) {
|
|
111
105
|
if (jsonMode) {
|
|
112
106
|
outputSuccessAsJson({
|
|
113
107
|
terminal: {
|
|
@@ -4,6 +4,7 @@ export default class Execution extends PMOCommand {
|
|
|
4
4
|
static examples: string[];
|
|
5
5
|
static flags: {
|
|
6
6
|
json: import("@oclif/core/interfaces").BooleanFlag<boolean>;
|
|
7
|
+
machine: import("@oclif/core/interfaces").BooleanFlag<boolean>;
|
|
7
8
|
project: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
8
9
|
};
|
|
9
10
|
protected getPMOOptions(): {
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { Flags } from '@oclif/core';
|
|
2
1
|
import inquirer from 'inquirer';
|
|
3
2
|
import { PMOCommand, pmoBaseFlags } from '../../lib/pmo/index.js';
|
|
4
3
|
export default class Execution extends PMOCommand {
|
|
@@ -11,19 +10,13 @@ export default class Execution extends PMOCommand {
|
|
|
11
10
|
];
|
|
12
11
|
static flags = {
|
|
13
12
|
...pmoBaseFlags,
|
|
14
|
-
json: Flags.boolean({
|
|
15
|
-
char: 'm',
|
|
16
|
-
aliases: ['machine'],
|
|
17
|
-
description: 'Output prompt configuration as JSON (for AI agents/scripts)',
|
|
18
|
-
default: false,
|
|
19
|
-
}),
|
|
20
13
|
};
|
|
21
14
|
getPMOOptions() {
|
|
22
15
|
return { promptIfMultiple: false };
|
|
23
16
|
}
|
|
24
17
|
async execute() {
|
|
25
18
|
const { flags } = await this.parse(Execution);
|
|
26
|
-
const jsonModeConfig = flags.json ? { flags, commandName: 'execution' } : null;
|
|
19
|
+
const jsonModeConfig = (flags.json || flags.machine) ? { flags, commandName: 'execution' } : null;
|
|
27
20
|
const { action } = await this.prompt([
|
|
28
21
|
{
|
|
29
22
|
type: 'list',
|
|
@@ -7,6 +7,7 @@ export default class ExecutionList extends PMOCommand {
|
|
|
7
7
|
agent: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
8
8
|
limit: import("@oclif/core/interfaces").OptionFlag<number, import("@oclif/core/interfaces").CustomOptions>;
|
|
9
9
|
json: import("@oclif/core/interfaces").BooleanFlag<boolean>;
|
|
10
|
+
machine: import("@oclif/core/interfaces").BooleanFlag<boolean>;
|
|
10
11
|
project: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
11
12
|
};
|
|
12
13
|
protected getPMOOptions(): {
|
|
@@ -9,6 +9,7 @@ export default class ExecutionLogs extends PMOCommand {
|
|
|
9
9
|
follow: import("@oclif/core/interfaces").BooleanFlag<boolean>;
|
|
10
10
|
tail: import("@oclif/core/interfaces").OptionFlag<number | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
11
11
|
json: import("@oclif/core/interfaces").BooleanFlag<boolean>;
|
|
12
|
+
machine: import("@oclif/core/interfaces").BooleanFlag<boolean>;
|
|
12
13
|
project: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
13
14
|
};
|
|
14
15
|
protected getPMOOptions(): {
|
|
@@ -34,12 +34,6 @@ export default class ExecutionLogs extends PMOCommand {
|
|
|
34
34
|
description: 'Show last n lines',
|
|
35
35
|
min: 1,
|
|
36
36
|
}),
|
|
37
|
-
json: Flags.boolean({
|
|
38
|
-
char: 'm',
|
|
39
|
-
aliases: ['machine'],
|
|
40
|
-
description: 'Output prompt configuration as JSON (for AI agents/scripts)',
|
|
41
|
-
default: false,
|
|
42
|
-
}),
|
|
43
37
|
};
|
|
44
38
|
getPMOOptions() {
|
|
45
39
|
return { promptIfMultiple: false };
|
|
@@ -72,7 +66,7 @@ export default class ExecutionLogs extends PMOCommand {
|
|
|
72
66
|
}
|
|
73
67
|
this.error('No executions found.');
|
|
74
68
|
}
|
|
75
|
-
const jsonModeConfig = flags.json ? { flags, commandName: 'execution logs' } : null;
|
|
69
|
+
const jsonModeConfig = (flags.json || flags.machine) ? { flags, commandName: 'execution logs' } : null;
|
|
76
70
|
const { selectedId } = await this.prompt([
|
|
77
71
|
{
|
|
78
72
|
type: 'list',
|
|
@@ -10,6 +10,7 @@ export default class ExecutionStop extends PMOCommand {
|
|
|
10
10
|
all: import("@oclif/core/interfaces").BooleanFlag<boolean>;
|
|
11
11
|
agent: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
12
12
|
json: import("@oclif/core/interfaces").BooleanFlag<boolean>;
|
|
13
|
+
machine: import("@oclif/core/interfaces").BooleanFlag<boolean>;
|
|
13
14
|
project: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
14
15
|
};
|
|
15
16
|
protected getPMOOptions(): {
|
|
@@ -38,12 +38,6 @@ export default class ExecutionStop extends PMOCommand {
|
|
|
38
38
|
char: 'a',
|
|
39
39
|
description: 'Stop all executions for a specific agent',
|
|
40
40
|
}),
|
|
41
|
-
json: Flags.boolean({
|
|
42
|
-
char: 'm',
|
|
43
|
-
aliases: ['machine'],
|
|
44
|
-
description: 'Output prompt configuration as JSON (for AI agents/scripts)',
|
|
45
|
-
default: false,
|
|
46
|
-
}),
|
|
47
41
|
};
|
|
48
42
|
getPMOOptions() {
|
|
49
43
|
return { promptIfMultiple: false };
|
|
@@ -139,7 +133,7 @@ export default class ExecutionStop extends PMOCommand {
|
|
|
139
133
|
this.log(styles.muted('\nNo running executions found.\n'));
|
|
140
134
|
return;
|
|
141
135
|
}
|
|
142
|
-
const jsonModeConfig = flags.json ? { flags: flags, commandName: 'execution stop' } : null;
|
|
136
|
+
const jsonModeConfig = (flags.json || flags.machine) ? { flags: flags, commandName: 'execution stop' } : null;
|
|
143
137
|
const { selectedId } = await this.prompt([
|
|
144
138
|
{
|
|
145
139
|
type: 'list',
|
|
@@ -7,6 +7,7 @@ export default class ExecutionView extends PMOCommand {
|
|
|
7
7
|
};
|
|
8
8
|
static flags: {
|
|
9
9
|
json: import("@oclif/core/interfaces").BooleanFlag<boolean>;
|
|
10
|
+
machine: import("@oclif/core/interfaces").BooleanFlag<boolean>;
|
|
10
11
|
project: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
11
12
|
};
|
|
12
13
|
protected getPMOOptions(): {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Args
|
|
1
|
+
import { Args } from '@oclif/core';
|
|
2
2
|
import * as fs from 'node:fs';
|
|
3
3
|
import * as path from 'node:path';
|
|
4
4
|
import Database from 'better-sqlite3';
|
|
@@ -21,12 +21,6 @@ export default class ExecutionView extends PMOCommand {
|
|
|
21
21
|
};
|
|
22
22
|
static flags = {
|
|
23
23
|
...pmoBaseFlags,
|
|
24
|
-
json: Flags.boolean({
|
|
25
|
-
char: 'm',
|
|
26
|
-
aliases: ['machine'],
|
|
27
|
-
description: 'Output execution details as JSON',
|
|
28
|
-
default: false,
|
|
29
|
-
}),
|
|
30
24
|
};
|
|
31
25
|
getPMOOptions() {
|
|
32
26
|
return { promptIfMultiple: false };
|
|
@@ -69,7 +63,7 @@ export default class ExecutionView extends PMOCommand {
|
|
|
69
63
|
this.log(styles.muted('\nNo executions found.\n'));
|
|
70
64
|
return;
|
|
71
65
|
}
|
|
72
|
-
const jsonModeConfig = flags.json ? { flags, commandName: 'execution view' } : null;
|
|
66
|
+
const jsonModeConfig = (flags.json || flags.machine) ? { flags, commandName: 'execution view' } : null;
|
|
73
67
|
const { selectedId } = await this.prompt([
|
|
74
68
|
{
|
|
75
69
|
type: 'list',
|
|
@@ -5,6 +5,7 @@ export default class Feedback extends Command {
|
|
|
5
5
|
static flags: {
|
|
6
6
|
action: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
7
7
|
json: import("@oclif/core/interfaces").BooleanFlag<boolean>;
|
|
8
|
+
machine: import("@oclif/core/interfaces").BooleanFlag<boolean>;
|
|
8
9
|
};
|
|
9
10
|
run(): Promise<void>;
|
|
10
11
|
}
|
|
@@ -7,6 +7,7 @@ export default class FeedbackList extends Command {
|
|
|
7
7
|
state: import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
|
|
8
8
|
limit: import("@oclif/core/interfaces").OptionFlag<number, import("@oclif/core/interfaces").CustomOptions>;
|
|
9
9
|
json: import("@oclif/core/interfaces").BooleanFlag<boolean>;
|
|
10
|
+
machine: import("@oclif/core/interfaces").BooleanFlag<boolean>;
|
|
10
11
|
};
|
|
11
12
|
run(): Promise<void>;
|
|
12
13
|
}
|
|
@@ -7,6 +7,7 @@ export default class FeedbackSubmit extends PromptCommand {
|
|
|
7
7
|
body: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
8
8
|
category: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
9
9
|
json: import("@oclif/core/interfaces").BooleanFlag<boolean>;
|
|
10
|
+
machine: import("@oclif/core/interfaces").BooleanFlag<boolean>;
|
|
10
11
|
};
|
|
11
12
|
run(): Promise<void>;
|
|
12
13
|
/**
|
|
@@ -4,6 +4,7 @@ export default class FeedbackView extends Command {
|
|
|
4
4
|
static examples: string[];
|
|
5
5
|
static flags: {
|
|
6
6
|
json: import("@oclif/core/interfaces").BooleanFlag<boolean>;
|
|
7
|
+
machine: import("@oclif/core/interfaces").BooleanFlag<boolean>;
|
|
7
8
|
};
|
|
8
9
|
static args: {
|
|
9
10
|
number: import("@oclif/core/interfaces").Arg<number, {
|
package/dist/commands/init.d.ts
CHANGED
|
@@ -3,12 +3,13 @@ export default class Init extends Command {
|
|
|
3
3
|
static description: string;
|
|
4
4
|
static examples: string[];
|
|
5
5
|
static flags: {
|
|
6
|
-
json: import("@oclif/core/interfaces").BooleanFlag<boolean>;
|
|
7
6
|
name: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
8
7
|
path: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
9
8
|
agents: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
10
9
|
repos: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
11
10
|
pmo: import("@oclif/core/interfaces").BooleanFlag<boolean>;
|
|
11
|
+
json: import("@oclif/core/interfaces").BooleanFlag<boolean>;
|
|
12
|
+
machine: import("@oclif/core/interfaces").BooleanFlag<boolean>;
|
|
12
13
|
};
|
|
13
14
|
run(): Promise<void>;
|
|
14
15
|
/**
|
package/dist/commands/init.js
CHANGED
|
@@ -5,7 +5,7 @@ import * as fs from 'node:fs';
|
|
|
5
5
|
import { promptForHQName, promptForHQLocation, initializeHQ, showNextSteps, validateHQLocation } from '../lib/init/index.js';
|
|
6
6
|
import { promptForAgentsWithTheme } from '../lib/agents/index.js';
|
|
7
7
|
import { promptForRepositories } from '../lib/repos/index.js';
|
|
8
|
-
import { promptForPMOSetup } from '../lib/pmo/index.js';
|
|
8
|
+
import { promptForPMOSetup, machineOutputFlags } from '../lib/pmo/index.js';
|
|
9
9
|
export default class Init extends Command {
|
|
10
10
|
static description = 'Initialize an HQ (headquarters) for managing repositories, agents, and projects';
|
|
11
11
|
static examples = [
|
|
@@ -16,12 +16,7 @@ export default class Init extends Command {
|
|
|
16
16
|
'<%= config.bin %> <%= command.id %> --json --name myproject --path /path/to/hq --agents agent1,agent2 --pmo',
|
|
17
17
|
];
|
|
18
18
|
static flags = {
|
|
19
|
-
|
|
20
|
-
char: 'm',
|
|
21
|
-
aliases: ['machine'],
|
|
22
|
-
description: 'Agent mode: use flags instead of prompts, output JSON',
|
|
23
|
-
default: false,
|
|
24
|
-
}),
|
|
19
|
+
...machineOutputFlags,
|
|
25
20
|
name: Flags.string({
|
|
26
21
|
description: 'HQ name (required in --json mode)',
|
|
27
22
|
char: 'n',
|
|
@@ -46,7 +41,7 @@ export default class Init extends Command {
|
|
|
46
41
|
};
|
|
47
42
|
async run() {
|
|
48
43
|
const { flags } = await this.parse(Init);
|
|
49
|
-
if (flags.json) {
|
|
44
|
+
if (flags.json || flags.machine) {
|
|
50
45
|
await this.runAgentMode(flags);
|
|
51
46
|
}
|
|
52
47
|
else if (!process.stdin.isTTY) {
|
|
@@ -9,6 +9,7 @@ export default class LinkCreate extends PMOCommand {
|
|
|
9
9
|
static flags: {
|
|
10
10
|
type: import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
|
|
11
11
|
json: import("@oclif/core/interfaces").BooleanFlag<boolean>;
|
|
12
|
+
machine: import("@oclif/core/interfaces").BooleanFlag<boolean>;
|
|
12
13
|
project: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
13
14
|
};
|
|
14
15
|
execute(): Promise<void>;
|
|
@@ -41,12 +41,6 @@ export default class LinkCreate extends PMOCommand {
|
|
|
41
41
|
options: ['blocks', 'relates', 'duplicates', 'depends'],
|
|
42
42
|
required: true,
|
|
43
43
|
}),
|
|
44
|
-
json: Flags.boolean({
|
|
45
|
-
char: 'm',
|
|
46
|
-
aliases: ['machine'],
|
|
47
|
-
description: 'Output prompt configuration as JSON (for AI agents/scripts)',
|
|
48
|
-
default: false,
|
|
49
|
-
}),
|
|
50
44
|
};
|
|
51
45
|
async execute() {
|
|
52
46
|
const { args, flags } = await this.parse(LinkCreate);
|
|
@@ -7,6 +7,7 @@ export default class Link extends PMOCommand {
|
|
|
7
7
|
};
|
|
8
8
|
static flags: {
|
|
9
9
|
json: import("@oclif/core/interfaces").BooleanFlag<boolean>;
|
|
10
|
+
machine: import("@oclif/core/interfaces").BooleanFlag<boolean>;
|
|
10
11
|
project: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
11
12
|
};
|
|
12
13
|
execute(): Promise<void>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Args
|
|
1
|
+
import { Args } from '@oclif/core';
|
|
2
2
|
import inquirer from 'inquirer';
|
|
3
3
|
import { PMOCommand, pmoBaseFlags } from '../../lib/pmo/index.js';
|
|
4
4
|
import { styles } from '../../lib/styles.js';
|
|
@@ -19,12 +19,6 @@ export default class Link extends PMOCommand {
|
|
|
19
19
|
};
|
|
20
20
|
static flags = {
|
|
21
21
|
...pmoBaseFlags,
|
|
22
|
-
json: Flags.boolean({
|
|
23
|
-
char: 'm',
|
|
24
|
-
aliases: ['machine'],
|
|
25
|
-
description: 'Output prompt configuration as JSON (for AI agents/scripts)',
|
|
26
|
-
default: false,
|
|
27
|
-
}),
|
|
28
22
|
};
|
|
29
23
|
async execute() {
|
|
30
24
|
const { args, flags } = await this.parse(Link);
|
|
@@ -8,6 +8,7 @@ export default class LinkList extends PMOCommand {
|
|
|
8
8
|
static flags: {
|
|
9
9
|
all: import("@oclif/core/interfaces").BooleanFlag<boolean>;
|
|
10
10
|
json: import("@oclif/core/interfaces").BooleanFlag<boolean>;
|
|
11
|
+
machine: import("@oclif/core/interfaces").BooleanFlag<boolean>;
|
|
11
12
|
project: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
12
13
|
};
|
|
13
14
|
execute(): Promise<void>;
|
|
@@ -36,12 +36,6 @@ export default class LinkList extends PMOCommand {
|
|
|
36
36
|
description: 'Show all links including reverse dependencies (what blocks this, what this blocks)',
|
|
37
37
|
default: false,
|
|
38
38
|
}),
|
|
39
|
-
json: Flags.boolean({
|
|
40
|
-
char: 'm',
|
|
41
|
-
aliases: ['machine'],
|
|
42
|
-
description: 'Output as JSON for AI agents/scripts',
|
|
43
|
-
default: false,
|
|
44
|
-
}),
|
|
45
39
|
};
|
|
46
40
|
async execute() {
|
|
47
41
|
const { args, flags } = await this.parse(LinkList);
|
|
@@ -9,6 +9,7 @@ export default class LinkRemove extends PMOCommand {
|
|
|
9
9
|
static flags: {
|
|
10
10
|
type: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
11
11
|
json: import("@oclif/core/interfaces").BooleanFlag<boolean>;
|
|
12
|
+
machine: import("@oclif/core/interfaces").BooleanFlag<boolean>;
|
|
12
13
|
project: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
13
14
|
};
|
|
14
15
|
execute(): Promise<void>;
|
|
@@ -39,12 +39,6 @@ export default class LinkRemove extends PMOCommand {
|
|
|
39
39
|
description: 'Link type to remove (if not specified, removes any link)',
|
|
40
40
|
options: ['blocks', 'relates', 'duplicates', 'depends'],
|
|
41
41
|
}),
|
|
42
|
-
json: Flags.boolean({
|
|
43
|
-
char: 'm',
|
|
44
|
-
aliases: ['machine'],
|
|
45
|
-
description: 'Output prompt configuration as JSON (for AI agents/scripts)',
|
|
46
|
-
default: false,
|
|
47
|
-
}),
|
|
48
42
|
};
|
|
49
43
|
async execute() {
|
|
50
44
|
const { args, flags } = await this.parse(LinkRemove);
|
|
@@ -12,6 +12,7 @@ export default class PhaseCreate extends PMOCommand {
|
|
|
12
12
|
default: import("@oclif/core/interfaces").BooleanFlag<boolean>;
|
|
13
13
|
interactive: import("@oclif/core/interfaces").BooleanFlag<boolean>;
|
|
14
14
|
json: import("@oclif/core/interfaces").BooleanFlag<boolean>;
|
|
15
|
+
machine: import("@oclif/core/interfaces").BooleanFlag<boolean>;
|
|
15
16
|
project: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
16
17
|
};
|
|
17
18
|
protected getPMOOptions(): {
|
|
@@ -8,6 +8,7 @@ export default class PhaseDelete extends PMOCommand {
|
|
|
8
8
|
static flags: {
|
|
9
9
|
force: import("@oclif/core/interfaces").BooleanFlag<boolean>;
|
|
10
10
|
json: import("@oclif/core/interfaces").BooleanFlag<boolean>;
|
|
11
|
+
machine: import("@oclif/core/interfaces").BooleanFlag<boolean>;
|
|
11
12
|
project: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
12
13
|
};
|
|
13
14
|
protected getPMOOptions(): {
|
|
@@ -48,7 +48,7 @@ export default class PhaseDelete extends PMOCommand {
|
|
|
48
48
|
commandName: 'phase delete',
|
|
49
49
|
baseCommand: `prlt phase delete ${args.id}`,
|
|
50
50
|
jsonMode,
|
|
51
|
-
flags: { json: flags.json },
|
|
51
|
+
flags: { json: flags.json, machine: flags.machine },
|
|
52
52
|
});
|
|
53
53
|
resolver.addPrompt({
|
|
54
54
|
flagName: 'confirmed',
|
|
@@ -5,6 +5,7 @@ export default class PhaseList extends PMOCommand {
|
|
|
5
5
|
static flags: {
|
|
6
6
|
category: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
7
7
|
json: import("@oclif/core/interfaces").BooleanFlag<boolean>;
|
|
8
|
+
machine: import("@oclif/core/interfaces").BooleanFlag<boolean>;
|
|
8
9
|
project: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
9
10
|
};
|
|
10
11
|
execute(): Promise<void>;
|
|
@@ -8,6 +8,7 @@ export default class PhaseMove extends PMOCommand {
|
|
|
8
8
|
static flags: {
|
|
9
9
|
position: import("@oclif/core/interfaces").OptionFlag<number | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
10
10
|
json: import("@oclif/core/interfaces").BooleanFlag<boolean>;
|
|
11
|
+
machine: import("@oclif/core/interfaces").BooleanFlag<boolean>;
|
|
11
12
|
project: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
12
13
|
};
|
|
13
14
|
protected getPMOOptions(): {
|
|
@@ -50,7 +50,7 @@ export default class PhaseMove extends PMOCommand {
|
|
|
50
50
|
commandName: 'phase move',
|
|
51
51
|
baseCommand: 'prlt phase move',
|
|
52
52
|
jsonMode,
|
|
53
|
-
flags: { json: flags.json },
|
|
53
|
+
flags: { json: flags.json, machine: flags.machine },
|
|
54
54
|
});
|
|
55
55
|
idResolver.addPrompt({
|
|
56
56
|
flagName: 'phaseId',
|
|
@@ -83,7 +83,7 @@ export default class PhaseMove extends PMOCommand {
|
|
|
83
83
|
commandName: 'phase move',
|
|
84
84
|
baseCommand: `prlt phase move ${phaseId}`,
|
|
85
85
|
jsonMode,
|
|
86
|
-
flags: { json: flags.json },
|
|
86
|
+
flags: { json: flags.json, machine: flags.machine },
|
|
87
87
|
});
|
|
88
88
|
posResolver.addPrompt({
|
|
89
89
|
flagName: 'position',
|
|
@@ -13,6 +13,7 @@ export default class PhaseUpdate extends PMOCommand {
|
|
|
13
13
|
default: import("@oclif/core/interfaces").BooleanFlag<boolean>;
|
|
14
14
|
interactive: import("@oclif/core/interfaces").BooleanFlag<boolean>;
|
|
15
15
|
json: import("@oclif/core/interfaces").BooleanFlag<boolean>;
|
|
16
|
+
machine: import("@oclif/core/interfaces").BooleanFlag<boolean>;
|
|
16
17
|
project: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
17
18
|
};
|
|
18
19
|
protected getPMOOptions(): {
|
|
@@ -71,7 +71,7 @@ export default class PhaseUpdate extends PMOCommand {
|
|
|
71
71
|
commandName: 'phase update',
|
|
72
72
|
baseCommand: 'prlt phase update',
|
|
73
73
|
jsonMode,
|
|
74
|
-
flags: { json: flags.json },
|
|
74
|
+
flags: { json: flags.json, machine: flags.machine },
|
|
75
75
|
});
|
|
76
76
|
idResolver.addPrompt({
|
|
77
77
|
flagName: 'phaseId',
|
|
@@ -114,7 +114,7 @@ export default class PhaseUpdate extends PMOCommand {
|
|
|
114
114
|
commandName: 'phase update',
|
|
115
115
|
baseCommand: `prlt phase update ${phaseId}`,
|
|
116
116
|
jsonMode,
|
|
117
|
-
flags: { json: flags.json },
|
|
117
|
+
flags: { json: flags.json, machine: flags.machine },
|
|
118
118
|
});
|
|
119
119
|
resolver.addPrompt({
|
|
120
120
|
flagName: 'name',
|
|
@@ -3,12 +3,13 @@ export default class PMOInit extends PromptCommand {
|
|
|
3
3
|
static description: string;
|
|
4
4
|
static examples: string[];
|
|
5
5
|
static flags: {
|
|
6
|
+
action: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
7
|
+
confirmation: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
8
|
+
json: import("@oclif/core/interfaces").BooleanFlag<boolean>;
|
|
9
|
+
machine: import("@oclif/core/interfaces").BooleanFlag<boolean>;
|
|
6
10
|
location: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
7
11
|
template: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
8
12
|
name: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
9
|
-
json: import("@oclif/core/interfaces").BooleanFlag<boolean>;
|
|
10
|
-
action: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
11
|
-
confirmation: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
12
13
|
};
|
|
13
14
|
run(): Promise<void>;
|
|
14
15
|
/**
|
|
@@ -5,7 +5,7 @@ import { execSync } from 'node:child_process';
|
|
|
5
5
|
import chalk from 'chalk';
|
|
6
6
|
import { PromptCommand } from '../../lib/prompt-command.js';
|
|
7
7
|
import Database from 'better-sqlite3';
|
|
8
|
-
import { SQLiteStorage, getColumnsForTemplate, createPMO, promptForPMOLocation, promptForBoardTemplate, promptForBoardName, promptForCustomColumns, determinePMOPath, getPickerTemplates, } from '../../lib/pmo/index.js';
|
|
8
|
+
import { SQLiteStorage, getColumnsForTemplate, createPMO, promptForPMOLocation, promptForBoardTemplate, promptForBoardName, promptForCustomColumns, determinePMOPath, getPickerTemplates, machineOutputFlags, } from '../../lib/pmo/index.js';
|
|
9
9
|
import { styles } from '../../lib/styles.js';
|
|
10
10
|
import { isGHInstalled, isGHAuthenticated, getGHUsername, isGHTokenInEnv } from '../../lib/pr/index.js';
|
|
11
11
|
import { shouldOutputJson, outputPromptAsJson, createMetadata, buildPromptConfig, } from '../../lib/prompt-json.js';
|
|
@@ -32,12 +32,7 @@ export default class PMOInit extends PromptCommand {
|
|
|
32
32
|
char: 'n',
|
|
33
33
|
description: 'Board name',
|
|
34
34
|
}),
|
|
35
|
-
|
|
36
|
-
char: 'm',
|
|
37
|
-
aliases: ['machine'],
|
|
38
|
-
description: 'Output prompt configuration as JSON (for AI agents/scripts)',
|
|
39
|
-
default: false,
|
|
40
|
-
}),
|
|
35
|
+
...machineOutputFlags,
|
|
41
36
|
action: Flags.string({
|
|
42
37
|
description: 'Action for existing PMO (cancel or reinitialize)',
|
|
43
38
|
options: ['cancel', 'reinitialize'],
|
|
@@ -13,6 +13,7 @@ export default class PRCreate extends PMOCommand {
|
|
|
13
13
|
body: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
14
14
|
ticket: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
15
15
|
json: import("@oclif/core/interfaces").BooleanFlag<boolean>;
|
|
16
|
+
machine: import("@oclif/core/interfaces").BooleanFlag<boolean>;
|
|
16
17
|
project: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
17
18
|
};
|
|
18
19
|
private hasPMO;
|
|
@@ -5,6 +5,7 @@ export default class PR extends PMOCommand {
|
|
|
5
5
|
static flags: {
|
|
6
6
|
action: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
7
7
|
json: import("@oclif/core/interfaces").BooleanFlag<boolean>;
|
|
8
|
+
machine: import("@oclif/core/interfaces").BooleanFlag<boolean>;
|
|
8
9
|
project: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
9
10
|
};
|
|
10
11
|
execute(): Promise<void>;
|
|
@@ -11,6 +11,7 @@ export default class PRLink extends PMOCommand {
|
|
|
11
11
|
ticket: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
12
12
|
confirm: import("@oclif/core/interfaces").BooleanFlag<boolean>;
|
|
13
13
|
json: import("@oclif/core/interfaces").BooleanFlag<boolean>;
|
|
14
|
+
machine: import("@oclif/core/interfaces").BooleanFlag<boolean>;
|
|
14
15
|
project: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
15
16
|
};
|
|
16
17
|
execute(): Promise<void>;
|
|
@@ -7,6 +7,7 @@ export default class PRList extends PMOCommand {
|
|
|
7
7
|
format: import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
|
|
8
8
|
limit: import("@oclif/core/interfaces").OptionFlag<number, import("@oclif/core/interfaces").CustomOptions>;
|
|
9
9
|
json: import("@oclif/core/interfaces").BooleanFlag<boolean>;
|
|
10
|
+
machine: import("@oclif/core/interfaces").BooleanFlag<boolean>;
|
|
10
11
|
project: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
11
12
|
};
|
|
12
13
|
execute(): Promise<void>;
|
|
@@ -8,6 +8,7 @@ export default class PRStatus extends PMOCommand {
|
|
|
8
8
|
static flags: {
|
|
9
9
|
ticket: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
10
10
|
json: import("@oclif/core/interfaces").BooleanFlag<boolean>;
|
|
11
|
+
machine: import("@oclif/core/interfaces").BooleanFlag<boolean>;
|
|
11
12
|
project: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
12
13
|
};
|
|
13
14
|
execute(): Promise<void>;
|
|
@@ -9,6 +9,7 @@ export default class PriorityAdd extends PMOCommand {
|
|
|
9
9
|
position: import("@oclif/core/interfaces").OptionFlag<number | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
10
10
|
after: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
11
11
|
json: import("@oclif/core/interfaces").BooleanFlag<boolean>;
|
|
12
|
+
machine: import("@oclif/core/interfaces").BooleanFlag<boolean>;
|
|
12
13
|
project: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
13
14
|
};
|
|
14
15
|
execute(): Promise<void>;
|
|
@@ -4,6 +4,7 @@ export default class PriorityList extends PMOCommand {
|
|
|
4
4
|
static examples: string[];
|
|
5
5
|
static flags: {
|
|
6
6
|
json: import("@oclif/core/interfaces").BooleanFlag<boolean>;
|
|
7
|
+
machine: import("@oclif/core/interfaces").BooleanFlag<boolean>;
|
|
7
8
|
project: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
8
9
|
};
|
|
9
10
|
execute(): Promise<void>;
|
|
@@ -7,6 +7,7 @@ export default class PriorityRemove extends PMOCommand {
|
|
|
7
7
|
};
|
|
8
8
|
static flags: {
|
|
9
9
|
json: import("@oclif/core/interfaces").BooleanFlag<boolean>;
|
|
10
|
+
machine: import("@oclif/core/interfaces").BooleanFlag<boolean>;
|
|
10
11
|
project: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
11
12
|
};
|
|
12
13
|
execute(): Promise<void>;
|
|
@@ -8,6 +8,7 @@ export default class PrioritySet extends PMOCommand {
|
|
|
8
8
|
};
|
|
9
9
|
static flags: {
|
|
10
10
|
json: import("@oclif/core/interfaces").BooleanFlag<boolean>;
|
|
11
|
+
machine: import("@oclif/core/interfaces").BooleanFlag<boolean>;
|
|
11
12
|
project: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
12
13
|
};
|
|
13
14
|
execute(): Promise<void>;
|