@camunda8/cli 2.0.0-alpha.11 → 2.0.0-alpha.13
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/README.md +15 -4
- package/dist/client.d.ts +2 -2
- package/dist/client.d.ts.map +1 -1
- package/dist/client.js +2 -2
- package/dist/client.js.map +1 -1
- package/dist/commands/completion.d.ts.map +1 -1
- package/dist/commands/completion.js +34 -1
- package/dist/commands/completion.js.map +1 -1
- package/dist/commands/help.d.ts +44 -0
- package/dist/commands/help.d.ts.map +1 -1
- package/dist/commands/help.js +428 -0
- package/dist/commands/help.js.map +1 -1
- package/dist/commands/mcp-proxy.d.ts +24 -0
- package/dist/commands/mcp-proxy.d.ts.map +1 -0
- package/dist/commands/mcp-proxy.js +284 -0
- package/dist/commands/mcp-proxy.js.map +1 -0
- package/dist/index.js +8 -0
- package/dist/index.js.map +1 -1
- package/dist/logger.d.ts +8 -1
- package/dist/logger.d.ts.map +1 -1
- package/dist/logger.js +35 -19
- package/dist/logger.js.map +1 -1
- package/package.json +3 -2
package/README.md
CHANGED
|
@@ -72,10 +72,21 @@ After installation, the CLI is available as `c8ctl` (or its alias `c8`).
|
|
|
72
72
|
c8ctl help
|
|
73
73
|
|
|
74
74
|
# Show detailed help for specific commands with all flags
|
|
75
|
-
c8ctl help list
|
|
76
|
-
c8ctl help get
|
|
77
|
-
c8ctl help create
|
|
78
|
-
c8ctl help complete
|
|
75
|
+
c8ctl help list # Shows all list resources and their flags
|
|
76
|
+
c8ctl help get # Shows all get resources and their flags
|
|
77
|
+
c8ctl help create # Shows all create resources and their flags
|
|
78
|
+
c8ctl help complete # Shows all complete resources and their flags
|
|
79
|
+
c8ctl help await # Shows await command with all flags
|
|
80
|
+
c8ctl help search # Shows all search resources and their flags
|
|
81
|
+
c8ctl help deploy # Shows deploy command with all flags
|
|
82
|
+
c8ctl help run # Shows run command with all flags
|
|
83
|
+
c8ctl help watch # Shows watch command with all flags
|
|
84
|
+
c8ctl help cancel # Shows cancel command with all flags
|
|
85
|
+
c8ctl help resolve # Shows resolve command with all flags
|
|
86
|
+
c8ctl help fail # Shows fail command with all flags
|
|
87
|
+
c8ctl help activate # Shows activate command with all flags
|
|
88
|
+
c8ctl help publish # Shows publish command with all flags
|
|
89
|
+
c8ctl help correlate # Shows correlate command with all flags
|
|
79
90
|
|
|
80
91
|
# Show version
|
|
81
92
|
c8ctl --version
|
package/dist/client.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* SDK client factory using resolved configuration
|
|
3
3
|
*/
|
|
4
|
-
import { type CamundaClient } from '@camunda8/orchestration-cluster-api';
|
|
4
|
+
import { type CamundaClient, type CamundaOptions } from '@camunda8/orchestration-cluster-api';
|
|
5
5
|
/**
|
|
6
6
|
* Create a Camunda 8 cluster client with resolved configuration
|
|
7
7
|
*/
|
|
8
|
-
export declare function createClient(profileFlag?: string): CamundaClient;
|
|
8
|
+
export declare function createClient(profileFlag?: string, additionalSdkConfig?: Partial<CamundaOptions>): CamundaClient;
|
|
9
9
|
//# sourceMappingURL=client.d.ts.map
|
package/dist/client.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../src/client.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAuB,KAAK,aAAa,
|
|
1
|
+
{"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../src/client.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAuB,KAAK,aAAa,EAAE,KAAK,cAAc,EAAE,MAAM,qCAAqC,CAAC;AAGnH;;GAEG;AACH,wBAAgB,YAAY,CAC1B,WAAW,CAAC,EAAE,MAAM,EACpB,mBAAmB,GAAE,OAAO,CAAC,cAAc,CAAM,GAChD,aAAa,CAgCf"}
|
package/dist/client.js
CHANGED
|
@@ -6,7 +6,7 @@ import { resolveClusterConfig } from "./config.js";
|
|
|
6
6
|
/**
|
|
7
7
|
* Create a Camunda 8 cluster client with resolved configuration
|
|
8
8
|
*/
|
|
9
|
-
export function createClient(profileFlag) {
|
|
9
|
+
export function createClient(profileFlag, additionalSdkConfig = {}) {
|
|
10
10
|
const config = resolveClusterConfig(profileFlag);
|
|
11
11
|
// Build config object for the SDK
|
|
12
12
|
const sdkConfig = {
|
|
@@ -34,6 +34,6 @@ export function createClient(profileFlag) {
|
|
|
34
34
|
else {
|
|
35
35
|
sdkConfig.CAMUNDA_AUTH_STRATEGY = 'NONE';
|
|
36
36
|
}
|
|
37
|
-
return createCamundaClient({ config: sdkConfig });
|
|
37
|
+
return createCamundaClient({ config: sdkConfig, ...additionalSdkConfig });
|
|
38
38
|
}
|
|
39
39
|
//# sourceMappingURL=client.js.map
|
package/dist/client.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"client.js","sourceRoot":"","sources":["../src/client.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,mBAAmB,EAA2C,MAAM,qCAAqC,CAAC;AACnH,OAAO,EAAE,oBAAoB,EAAE,MAAM,aAAa,CAAC;AAEnD;;GAEG;AACH,MAAM,UAAU,YAAY,
|
|
1
|
+
{"version":3,"file":"client.js","sourceRoot":"","sources":["../src/client.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,mBAAmB,EAA2C,MAAM,qCAAqC,CAAC;AACnH,OAAO,EAAE,oBAAoB,EAAE,MAAM,aAAa,CAAC;AAEnD;;GAEG;AACH,MAAM,UAAU,YAAY,CAC1B,WAAoB,EACpB,sBAA+C,EAAE;IAEjD,MAAM,MAAM,GAAG,oBAAoB,CAAC,WAAW,CAAC,CAAC;IAEjD,kCAAkC;IAClC,MAAM,SAAS,GAAsC;QACnD,oBAAoB,EAAE,MAAM,CAAC,OAAO;KACrC,CAAC;IAEF,qCAAqC;IACrC,IAAI,MAAM,CAAC,QAAQ,IAAI,MAAM,CAAC,YAAY,EAAE,CAAC;QAC3C,SAAS,CAAC,qBAAqB,GAAG,OAAO,CAAC;QAC1C,SAAS,CAAC,iBAAiB,GAAG,MAAM,CAAC,QAAQ,CAAC;QAC9C,SAAS,CAAC,qBAAqB,GAAG,MAAM,CAAC,YAAY,CAAC;QACtD,IAAI,MAAM,CAAC,QAAQ,EAAE,CAAC;YACpB,SAAS,CAAC,sBAAsB,GAAG,MAAM,CAAC,QAAQ,CAAC;QACrD,CAAC;QACD,IAAI,MAAM,CAAC,QAAQ,EAAE,CAAC;YACpB,SAAS,CAAC,iBAAiB,GAAG,MAAM,CAAC,QAAQ,CAAC;QAChD,CAAC;IACH,CAAC;IACD,0CAA0C;SACrC,IAAI,MAAM,CAAC,QAAQ,IAAI,MAAM,CAAC,QAAQ,EAAE,CAAC;QAC5C,SAAS,CAAC,qBAAqB,GAAG,OAAO,CAAC;QAC1C,SAAS,CAAC,2BAA2B,GAAG,MAAM,CAAC,QAAQ,CAAC;QACxD,SAAS,CAAC,2BAA2B,GAAG,MAAM,CAAC,QAAQ,CAAC;IAC1D,CAAC;IACD,oBAAoB;SACf,CAAC;QACJ,SAAS,CAAC,qBAAqB,GAAG,MAAM,CAAC;IAC3C,CAAC;IAED,OAAO,mBAAmB,CAAC,EAAE,MAAM,EAAE,SAAS,EAAE,GAAG,mBAAmB,EAAE,CAAC,CAAC;AAC5E,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"completion.d.ts","sourceRoot":"","sources":["../../src/commands/completion.ts"],"names":[],"mappings":"AAAA;;GAEG;
|
|
1
|
+
{"version":3,"file":"completion.d.ts","sourceRoot":"","sources":["../../src/commands/completion.ts"],"names":[],"mappings":"AAAA;;GAEG;AAuyBH;;GAEG;AACH,wBAAgB,cAAc,CAAC,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CA0BnD"}
|
|
@@ -41,7 +41,7 @@ _c8ctl_completions() {
|
|
|
41
41
|
local use_resources="profile tenant"
|
|
42
42
|
local output_resources="json text"
|
|
43
43
|
local completion_resources="bash zsh fish"
|
|
44
|
-
local help_resources="list get create complete"
|
|
44
|
+
local help_resources="list get create complete await search deploy run watch cancel resolve fail activate publish correlate"
|
|
45
45
|
|
|
46
46
|
# Global flags
|
|
47
47
|
local flags="--help --version --profile --from --all --bpmnProcessId --id --processInstanceKey --processDefinitionKey --parentProcessInstanceKey --variables --state --assignee --type --correlationKey --timeToLive --maxJobsToActivate --timeout --worker --retries --errorMessage --baseUrl --clientId --clientSecret --audience --oAuthUrl --defaultTenantId --awaitCompletion --fetchVariables --name --key --elementId --errorType --value --scopeKey --fullValue --userTask --ut --processDefinition --pd --iname --iid --iassignee --ierrorMessage --itype --ivalue"
|
|
@@ -407,6 +407,17 @@ _c8ctl() {
|
|
|
407
407
|
'get:Show get command help'
|
|
408
408
|
'create:Show create command help'
|
|
409
409
|
'complete:Show complete command help'
|
|
410
|
+
'await:Show await command help'
|
|
411
|
+
'search:Show search command help'
|
|
412
|
+
'deploy:Show deploy command help'
|
|
413
|
+
'run:Show run command help'
|
|
414
|
+
'watch:Show watch command help'
|
|
415
|
+
'cancel:Show cancel command help'
|
|
416
|
+
'resolve:Show resolve command help'
|
|
417
|
+
'fail:Show fail command help'
|
|
418
|
+
'activate:Show activate command help'
|
|
419
|
+
'publish:Show publish command help'
|
|
420
|
+
'correlate:Show correlate command help'
|
|
410
421
|
)
|
|
411
422
|
_describe 'resource' resources
|
|
412
423
|
;;
|
|
@@ -767,6 +778,28 @@ complete -c c8ctl -n '__fish_seen_subcommand_from help' -a 'create' -d 'Show cre
|
|
|
767
778
|
complete -c c8 -n '__fish_seen_subcommand_from help' -a 'create' -d 'Show create command help'
|
|
768
779
|
complete -c c8ctl -n '__fish_seen_subcommand_from help' -a 'complete' -d 'Show complete command help'
|
|
769
780
|
complete -c c8 -n '__fish_seen_subcommand_from help' -a 'complete' -d 'Show complete command help'
|
|
781
|
+
complete -c c8ctl -n '__fish_seen_subcommand_from help' -a 'await' -d 'Show await command help'
|
|
782
|
+
complete -c c8 -n '__fish_seen_subcommand_from help' -a 'await' -d 'Show await command help'
|
|
783
|
+
complete -c c8ctl -n '__fish_seen_subcommand_from help' -a 'search' -d 'Show search command help'
|
|
784
|
+
complete -c c8 -n '__fish_seen_subcommand_from help' -a 'search' -d 'Show search command help'
|
|
785
|
+
complete -c c8ctl -n '__fish_seen_subcommand_from help' -a 'deploy' -d 'Show deploy command help'
|
|
786
|
+
complete -c c8 -n '__fish_seen_subcommand_from help' -a 'deploy' -d 'Show deploy command help'
|
|
787
|
+
complete -c c8ctl -n '__fish_seen_subcommand_from help' -a 'run' -d 'Show run command help'
|
|
788
|
+
complete -c c8 -n '__fish_seen_subcommand_from help' -a 'run' -d 'Show run command help'
|
|
789
|
+
complete -c c8ctl -n '__fish_seen_subcommand_from help' -a 'watch' -d 'Show watch command help'
|
|
790
|
+
complete -c c8 -n '__fish_seen_subcommand_from help' -a 'watch' -d 'Show watch command help'
|
|
791
|
+
complete -c c8ctl -n '__fish_seen_subcommand_from help' -a 'cancel' -d 'Show cancel command help'
|
|
792
|
+
complete -c c8 -n '__fish_seen_subcommand_from help' -a 'cancel' -d 'Show cancel command help'
|
|
793
|
+
complete -c c8ctl -n '__fish_seen_subcommand_from help' -a 'resolve' -d 'Show resolve command help'
|
|
794
|
+
complete -c c8 -n '__fish_seen_subcommand_from help' -a 'resolve' -d 'Show resolve command help'
|
|
795
|
+
complete -c c8ctl -n '__fish_seen_subcommand_from help' -a 'fail' -d 'Show fail command help'
|
|
796
|
+
complete -c c8 -n '__fish_seen_subcommand_from help' -a 'fail' -d 'Show fail command help'
|
|
797
|
+
complete -c c8ctl -n '__fish_seen_subcommand_from help' -a 'activate' -d 'Show activate command help'
|
|
798
|
+
complete -c c8 -n '__fish_seen_subcommand_from help' -a 'activate' -d 'Show activate command help'
|
|
799
|
+
complete -c c8ctl -n '__fish_seen_subcommand_from help' -a 'publish' -d 'Show publish command help'
|
|
800
|
+
complete -c c8 -n '__fish_seen_subcommand_from help' -a 'publish' -d 'Show publish command help'
|
|
801
|
+
complete -c c8ctl -n '__fish_seen_subcommand_from help' -a 'correlate' -d 'Show correlate command help'
|
|
802
|
+
complete -c c8 -n '__fish_seen_subcommand_from help' -a 'correlate' -d 'Show correlate command help'
|
|
770
803
|
`;
|
|
771
804
|
}
|
|
772
805
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"completion.js","sourceRoot":"","sources":["../../src/commands/completion.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAEzC;;GAEG;AACH,SAAS,sBAAsB;IAC7B,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAmIR,CAAC;AACF,CAAC;AAED;;GAEG;AACH,SAAS,qBAAqB;IAC5B,OAAO
|
|
1
|
+
{"version":3,"file":"completion.js","sourceRoot":"","sources":["../../src/commands/completion.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAEzC;;GAEG;AACH,SAAS,sBAAsB;IAC7B,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAmIR,CAAC;AACF,CAAC;AAED;;GAEG;AACH,SAAS,qBAAqB;IAC5B,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkSR,CAAC;AACF,CAAC;AAED;;GAEG;AACH,SAAS,sBAAsB;IAC7B,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAyWR,CAAC;AACF,CAAC;AAED;;GAEG;AACH,MAAM,UAAU,cAAc,CAAC,KAAc;IAC3C,MAAM,MAAM,GAAG,SAAS,EAAE,CAAC;IAE3B,IAAI,CAAC,KAAK,EAAE,CAAC;QACX,MAAM,CAAC,KAAK,CAAC,2DAA2D,CAAC,CAAC;QAC1E,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;IAClB,CAAC;IAED,MAAM,eAAe,GAAG,KAAK,CAAC,WAAW,EAAE,CAAC;IAE5C,QAAQ,eAAe,EAAE,CAAC;QACxB,KAAK,MAAM;YACT,OAAO,CAAC,GAAG,CAAC,sBAAsB,EAAE,CAAC,CAAC;YACtC,MAAM;QACR,KAAK,KAAK;YACR,OAAO,CAAC,GAAG,CAAC,qBAAqB,EAAE,CAAC,CAAC;YACrC,MAAM;QACR,KAAK,MAAM;YACT,OAAO,CAAC,GAAG,CAAC,sBAAsB,EAAE,CAAC,CAAC;YACtC,MAAM;QACR;YACE,MAAM,CAAC,KAAK,CAAC,kBAAkB,KAAK,EAAE,CAAC,CAAC;YACxC,MAAM,CAAC,IAAI,CAAC,mCAAmC,CAAC,CAAC;YACjD,MAAM,CAAC,IAAI,CAAC,sCAAsC,CAAC,CAAC;YACpD,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;IACpB,CAAC;AACH,CAAC"}
|
package/dist/commands/help.d.ts
CHANGED
|
@@ -37,6 +37,50 @@ export declare function showCompleteHelp(): void;
|
|
|
37
37
|
* Show detailed help for await command
|
|
38
38
|
*/
|
|
39
39
|
export declare function showAwaitHelp(): void;
|
|
40
|
+
/**
|
|
41
|
+
* Show detailed help for mcp-proxy command
|
|
42
|
+
*/
|
|
43
|
+
export declare function showMcpProxyHelp(): void;
|
|
44
|
+
/**
|
|
45
|
+
* Show detailed help for search command
|
|
46
|
+
*/
|
|
47
|
+
export declare function showSearchHelp(): void;
|
|
48
|
+
/**
|
|
49
|
+
* Show detailed help for deploy command
|
|
50
|
+
*/
|
|
51
|
+
export declare function showDeployHelp(): void;
|
|
52
|
+
/**
|
|
53
|
+
* Show detailed help for run command
|
|
54
|
+
*/
|
|
55
|
+
export declare function showRunHelp(): void;
|
|
56
|
+
/**
|
|
57
|
+
* Show detailed help for watch command
|
|
58
|
+
*/
|
|
59
|
+
export declare function showWatchHelp(): void;
|
|
60
|
+
/**
|
|
61
|
+
* Show detailed help for cancel command
|
|
62
|
+
*/
|
|
63
|
+
export declare function showCancelHelp(): void;
|
|
64
|
+
/**
|
|
65
|
+
* Show detailed help for resolve command
|
|
66
|
+
*/
|
|
67
|
+
export declare function showResolveHelp(): void;
|
|
68
|
+
/**
|
|
69
|
+
* Show detailed help for fail command
|
|
70
|
+
*/
|
|
71
|
+
export declare function showFailHelp(): void;
|
|
72
|
+
/**
|
|
73
|
+
* Show detailed help for activate command
|
|
74
|
+
*/
|
|
75
|
+
export declare function showActivateHelp(): void;
|
|
76
|
+
/**
|
|
77
|
+
* Show detailed help for publish command
|
|
78
|
+
*/
|
|
79
|
+
export declare function showPublishHelp(): void;
|
|
80
|
+
/**
|
|
81
|
+
* Show detailed help for correlate command
|
|
82
|
+
*/
|
|
83
|
+
export declare function showCorrelateHelp(): void;
|
|
40
84
|
/**
|
|
41
85
|
* Show detailed help for specific commands
|
|
42
86
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"help.d.ts","sourceRoot":"","sources":["../../src/commands/help.ts"],"names":[],"mappings":"AAAA;;GAEG;AAWH;;GAEG;AACH,wBAAgB,UAAU,IAAI,MAAM,CAInC;AAED;;GAEG;AACH,wBAAgB,WAAW,IAAI,IAAI,CAGlC;AAED;;GAEG;AACH,wBAAgB,QAAQ,IAAI,IAAI,
|
|
1
|
+
{"version":3,"file":"help.d.ts","sourceRoot":"","sources":["../../src/commands/help.ts"],"names":[],"mappings":"AAAA;;GAEG;AAWH;;GAEG;AACH,wBAAgB,UAAU,IAAI,MAAM,CAInC;AAED;;GAEG;AACH,wBAAgB,WAAW,IAAI,IAAI,CAGlC;AAED;;GAEG;AACH,wBAAgB,QAAQ,IAAI,IAAI,CAuJ/B;AAED;;GAEG;AACH,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI,CAkCpD;AAED;;GAEG;AACH,wBAAgB,YAAY,IAAI,IAAI,CAgDnC;AAED;;GAEG;AACH,wBAAgB,WAAW,IAAI,IAAI,CAwClC;AAED;;GAEG;AACH,wBAAgB,cAAc,IAAI,IAAI,CAsBrC;AAED;;GAEG;AACH,wBAAgB,gBAAgB,IAAI,IAAI,CAqBvC;AAED;;GAEG;AACH,wBAAgB,aAAa,IAAI,IAAI,CA6BpC;AAED;;GAEG;AACH,wBAAgB,gBAAgB,IAAI,IAAI,CAsDvC;AAED;;GAEG;AACH,wBAAgB,cAAc,IAAI,IAAI,CAqFrC;AAED;;GAEG;AACH,wBAAgB,cAAc,IAAI,IAAI,CA8BrC;AAED;;GAEG;AACH,wBAAgB,WAAW,IAAI,IAAI,CAmBlC;AAED;;GAEG;AACH,wBAAgB,aAAa,IAAI,IAAI,CA4BpC;AAED;;GAEG;AACH,wBAAgB,cAAc,IAAI,IAAI,CAerC;AAED;;GAEG;AACH,wBAAgB,eAAe,IAAI,IAAI,CAoBtC;AAED;;GAEG;AACH,wBAAgB,YAAY,IAAI,IAAI,CAoBnC;AAED;;GAEG;AACH,wBAAgB,gBAAgB,IAAI,IAAI,CAqBvC;AAED;;GAEG;AACH,wBAAgB,eAAe,IAAI,IAAI,CAuBtC;AAED;;GAEG;AACH,wBAAgB,iBAAiB,IAAI,IAAI,CAsBxC;AAED;;GAEG;AACH,wBAAgB,eAAe,CAAC,OAAO,EAAE,MAAM,GAAG,IAAI,CAuDrD"}
|
package/dist/commands/help.js
CHANGED
|
@@ -67,6 +67,7 @@ Commands:
|
|
|
67
67
|
use profile|tenant Set active profile or tenant
|
|
68
68
|
output json|text Set output format
|
|
69
69
|
completion bash|zsh|fish Generate shell completion script
|
|
70
|
+
mcp-proxy [mcp-path] Start a STDIO to remote HTTP MCP proxy server
|
|
70
71
|
help [command] Show help (detailed help for list, get, create, complete, await)${pluginSection}
|
|
71
72
|
|
|
72
73
|
Flags:
|
|
@@ -162,6 +163,17 @@ For detailed help on specific commands with all available flags:
|
|
|
162
163
|
c8ctl help create Show all create resources and their flags
|
|
163
164
|
c8ctl help complete Show all complete resources and their flags
|
|
164
165
|
c8ctl help await Show await command with all flags
|
|
166
|
+
c8ctl help mcp-proxy Show mcp-proxy setup and usage
|
|
167
|
+
c8ctl help search Show all search resources and their flags
|
|
168
|
+
c8ctl help deploy Show deploy command with all flags
|
|
169
|
+
c8ctl help run Show run command with all flags
|
|
170
|
+
c8ctl help watch Show watch command with all flags
|
|
171
|
+
c8ctl help cancel Show cancel command with all flags
|
|
172
|
+
c8ctl help resolve Show resolve command with all flags
|
|
173
|
+
c8ctl help fail Show fail command with all flags
|
|
174
|
+
c8ctl help activate Show activate command with all flags
|
|
175
|
+
c8ctl help publish Show publish command with all flags
|
|
176
|
+
c8ctl help correlate Show correlate command with all flags
|
|
165
177
|
`.trim());
|
|
166
178
|
}
|
|
167
179
|
/**
|
|
@@ -190,6 +202,7 @@ export function showVerbResources(verb) {
|
|
|
190
202
|
use: 'profile, tenant',
|
|
191
203
|
output: 'json, text',
|
|
192
204
|
completion: 'bash, zsh, fish',
|
|
205
|
+
help: 'list, get, create, complete, await, search, deploy, run, watch, cancel, resolve, fail, activate, publish, correlate',
|
|
193
206
|
};
|
|
194
207
|
const available = resources[verb];
|
|
195
208
|
if (available) {
|
|
@@ -381,6 +394,387 @@ Examples:
|
|
|
381
394
|
c8ctl create pi --id=order-process --awaitCompletion
|
|
382
395
|
`.trim());
|
|
383
396
|
}
|
|
397
|
+
/**
|
|
398
|
+
* Show detailed help for mcp-proxy command
|
|
399
|
+
*/
|
|
400
|
+
export function showMcpProxyHelp() {
|
|
401
|
+
console.log(`
|
|
402
|
+
c8ctl mcp-proxy - Start MCP proxy server
|
|
403
|
+
|
|
404
|
+
Usage: c8ctl mcp-proxy [mcp-path] [flags]
|
|
405
|
+
|
|
406
|
+
Description:
|
|
407
|
+
Starts a STDIO-based Model Context Protocol (MCP) proxy server that bridges
|
|
408
|
+
between local MCP clients (like VSCode or other AI assistants) and
|
|
409
|
+
remote Camunda 8 HTTP MCP servers. The proxy handles authentication by
|
|
410
|
+
injecting Camunda credentials from your active profile.
|
|
411
|
+
|
|
412
|
+
Arguments:
|
|
413
|
+
mcp-path Path to the remote MCP endpoint (default: /mcp/cluster)
|
|
414
|
+
|
|
415
|
+
Flags:
|
|
416
|
+
--profile <name> Use specific profile for authentication
|
|
417
|
+
|
|
418
|
+
How it works:
|
|
419
|
+
1. Accepts MCP requests via STDIO (standard input/output)
|
|
420
|
+
2. Forwards requests to the remote Camunda 8 cluster's MCP endpoint
|
|
421
|
+
3. Injects authentication headers from your c8ctl profile
|
|
422
|
+
4. Returns responses back through STDIO
|
|
423
|
+
|
|
424
|
+
Configuration:
|
|
425
|
+
VSCode example - add a block like the following to your mcp.json:
|
|
426
|
+
|
|
427
|
+
{
|
|
428
|
+
"servers": {
|
|
429
|
+
"camunda-cluster": {
|
|
430
|
+
"type": "stdio",
|
|
431
|
+
"command": "npx",
|
|
432
|
+
"args": ["c8ctl", "mcp-proxy"]
|
|
433
|
+
}
|
|
434
|
+
}
|
|
435
|
+
}
|
|
436
|
+
|
|
437
|
+
Examples:
|
|
438
|
+
# Start proxy with default MCP path and active profile
|
|
439
|
+
c8ctl mcp-proxy
|
|
440
|
+
|
|
441
|
+
# Use specific MCP endpoint path
|
|
442
|
+
c8ctl mcp-proxy /api/mcp
|
|
443
|
+
|
|
444
|
+
# Use specific profile for authentication
|
|
445
|
+
c8ctl mcp-proxy --profile=production
|
|
446
|
+
|
|
447
|
+
# Combine custom path and profile
|
|
448
|
+
c8ctl mcp-proxy /mcp/v2 --profile=staging
|
|
449
|
+
|
|
450
|
+
Note:
|
|
451
|
+
The mcp-proxy command runs in the foreground and communicates via STDIO.
|
|
452
|
+
It's designed to be launched by MCP clients, not run directly in a terminal.
|
|
453
|
+
`.trim());
|
|
454
|
+
}
|
|
455
|
+
/**
|
|
456
|
+
* Show detailed help for search command
|
|
457
|
+
*/
|
|
458
|
+
export function showSearchHelp() {
|
|
459
|
+
console.log(`
|
|
460
|
+
c8ctl search - Search resources with filters
|
|
461
|
+
|
|
462
|
+
Usage: c8ctl search <resource> [flags]
|
|
463
|
+
|
|
464
|
+
Resources and their available flags:
|
|
465
|
+
|
|
466
|
+
process-instances (pi)
|
|
467
|
+
--bpmnProcessId <id> Filter by process definition ID
|
|
468
|
+
--iid <pattern> Case-insensitive --bpmnProcessId filter
|
|
469
|
+
--processDefinitionKey <key> Filter by process definition key
|
|
470
|
+
--state <state> Filter by state (ACTIVE, COMPLETED, etc.)
|
|
471
|
+
--key <key> Filter by key
|
|
472
|
+
--parentProcessInstanceKey <key> Filter by parent process instance key
|
|
473
|
+
--profile <name> Use specific profile
|
|
474
|
+
|
|
475
|
+
process-definitions (pd)
|
|
476
|
+
--bpmnProcessId <id> Filter by process definition ID
|
|
477
|
+
--iid <pattern> Case-insensitive --bpmnProcessId filter
|
|
478
|
+
--name <name> Filter by name
|
|
479
|
+
--iname <pattern> Case-insensitive --name filter
|
|
480
|
+
--key <key> Filter by key
|
|
481
|
+
--profile <name> Use specific profile
|
|
482
|
+
|
|
483
|
+
user-tasks (ut)
|
|
484
|
+
--state <state> Filter by state (CREATED, COMPLETED, etc.)
|
|
485
|
+
--assignee <user> Filter by assignee
|
|
486
|
+
--iassignee <pattern> Case-insensitive --assignee filter
|
|
487
|
+
--processInstanceKey <key> Filter by process instance key
|
|
488
|
+
--processDefinitionKey <key> Filter by process definition key
|
|
489
|
+
--elementId <id> Filter by element ID
|
|
490
|
+
--profile <name> Use specific profile
|
|
491
|
+
|
|
492
|
+
incidents (inc)
|
|
493
|
+
--state <state> Filter by state (ACTIVE, RESOLVED, etc.)
|
|
494
|
+
--processInstanceKey <key> Filter by process instance key
|
|
495
|
+
--processDefinitionKey <key> Filter by process definition key
|
|
496
|
+
--bpmnProcessId <id> Filter by process definition ID
|
|
497
|
+
--iid <pattern> Case-insensitive --bpmnProcessId filter
|
|
498
|
+
--errorType <type> Filter by error type
|
|
499
|
+
--errorMessage <msg> Filter by error message
|
|
500
|
+
--ierrorMessage <pattern> Case-insensitive --errorMessage filter
|
|
501
|
+
--profile <name> Use specific profile
|
|
502
|
+
|
|
503
|
+
jobs
|
|
504
|
+
--state <state> Filter by state (ACTIVATABLE, ACTIVATED, etc.)
|
|
505
|
+
--type <type> Filter by job type
|
|
506
|
+
--itype <pattern> Case-insensitive --type filter
|
|
507
|
+
--processInstanceKey <key> Filter by process instance key
|
|
508
|
+
--processDefinitionKey <key> Filter by process definition key
|
|
509
|
+
--profile <name> Use specific profile
|
|
510
|
+
|
|
511
|
+
variables
|
|
512
|
+
--name <name> Filter by variable name
|
|
513
|
+
--iname <pattern> Case-insensitive --name filter
|
|
514
|
+
--value <value> Filter by variable value
|
|
515
|
+
--ivalue <pattern> Case-insensitive --value filter
|
|
516
|
+
--processInstanceKey <key> Filter by process instance key
|
|
517
|
+
--scopeKey <key> Filter by scope key
|
|
518
|
+
--fullValue Return full variable values (default: truncated)
|
|
519
|
+
--profile <name> Use specific profile
|
|
520
|
+
|
|
521
|
+
Wildcard Search:
|
|
522
|
+
String filters support wildcards: * (any chars) and ? (single char).
|
|
523
|
+
Example: --name='*main*' matches all names containing "main".
|
|
524
|
+
|
|
525
|
+
Case-Insensitive Search:
|
|
526
|
+
Prefix any string filter with 'i' for case-insensitive matching.
|
|
527
|
+
Wildcards (* and ?) are supported. Filtering is applied client-side.
|
|
528
|
+
Example: --iname='*ORDER*' matches "order", "Order", "ORDER", etc.
|
|
529
|
+
|
|
530
|
+
Examples:
|
|
531
|
+
c8ctl search pi --state=ACTIVE
|
|
532
|
+
c8ctl search pi --bpmnProcessId=order-process
|
|
533
|
+
c8ctl search pd --name='*main*'
|
|
534
|
+
c8ctl search pd --iname='*order*'
|
|
535
|
+
c8ctl search ut --assignee=john.doe
|
|
536
|
+
c8ctl search ut --iassignee=John
|
|
537
|
+
c8ctl search inc --state=ACTIVE --processInstanceKey=123456
|
|
538
|
+
c8ctl search jobs --type=email-service
|
|
539
|
+
c8ctl search jobs --itype='*SERVICE*'
|
|
540
|
+
c8ctl search variables --name=orderId
|
|
541
|
+
c8ctl search variables --value=12345 --fullValue
|
|
542
|
+
`.trim());
|
|
543
|
+
}
|
|
544
|
+
/**
|
|
545
|
+
* Show detailed help for deploy command
|
|
546
|
+
*/
|
|
547
|
+
export function showDeployHelp() {
|
|
548
|
+
console.log(`
|
|
549
|
+
c8ctl deploy - Deploy BPMN, DMN, and form files
|
|
550
|
+
|
|
551
|
+
Usage: c8ctl deploy [path...] [flags]
|
|
552
|
+
|
|
553
|
+
Description:
|
|
554
|
+
Deploy BPMN process definitions, DMN decision tables, and forms to Camunda 8.
|
|
555
|
+
Automatically discovers all deployable files in the specified paths.
|
|
556
|
+
If no path is provided, deploys from the current directory.
|
|
557
|
+
|
|
558
|
+
Flags:
|
|
559
|
+
--profile <name> Use specific profile
|
|
560
|
+
|
|
561
|
+
Supported File Types:
|
|
562
|
+
- BPMN files (.bpmn)
|
|
563
|
+
- DMN files (.dmn)
|
|
564
|
+
- Form files (.form)
|
|
565
|
+
|
|
566
|
+
Building Blocks:
|
|
567
|
+
Folders containing '_bb-' in their name are treated as building blocks
|
|
568
|
+
and are deployed before regular processes.
|
|
569
|
+
|
|
570
|
+
Examples:
|
|
571
|
+
c8ctl deploy Deploy all files in current directory
|
|
572
|
+
c8ctl deploy ./src Deploy all files in ./src directory
|
|
573
|
+
c8ctl deploy ./process.bpmn Deploy a specific BPMN file
|
|
574
|
+
c8ctl deploy ./src ./forms Deploy from multiple directories
|
|
575
|
+
c8ctl deploy --profile=prod Deploy using specific profile
|
|
576
|
+
`.trim());
|
|
577
|
+
}
|
|
578
|
+
/**
|
|
579
|
+
* Show detailed help for run command
|
|
580
|
+
*/
|
|
581
|
+
export function showRunHelp() {
|
|
582
|
+
console.log(`
|
|
583
|
+
c8ctl run - Deploy and start a process
|
|
584
|
+
|
|
585
|
+
Usage: c8ctl run <path> [flags]
|
|
586
|
+
|
|
587
|
+
Description:
|
|
588
|
+
Deploys a BPMN file and immediately creates a process instance from it.
|
|
589
|
+
This is a convenience command that combines deploy and create operations.
|
|
590
|
+
|
|
591
|
+
Flags:
|
|
592
|
+
--profile <name> Use specific profile
|
|
593
|
+
--variables <json> Process variables as JSON string
|
|
594
|
+
|
|
595
|
+
Examples:
|
|
596
|
+
c8ctl run ./my-process.bpmn
|
|
597
|
+
c8ctl run ./my-process.bpmn --variables='{"orderId":"12345"}'
|
|
598
|
+
c8ctl run ./my-process.bpmn --profile=prod
|
|
599
|
+
`.trim());
|
|
600
|
+
}
|
|
601
|
+
/**
|
|
602
|
+
* Show detailed help for watch command
|
|
603
|
+
*/
|
|
604
|
+
export function showWatchHelp() {
|
|
605
|
+
console.log(`
|
|
606
|
+
c8ctl watch - Watch files for changes and auto-deploy
|
|
607
|
+
|
|
608
|
+
Usage: c8ctl watch [path...] [flags]
|
|
609
|
+
|
|
610
|
+
Alias: w
|
|
611
|
+
|
|
612
|
+
Description:
|
|
613
|
+
Watches BPMN, DMN, and form files for changes and automatically deploys them.
|
|
614
|
+
Useful during development for rapid iteration.
|
|
615
|
+
If no path is provided, watches the current directory.
|
|
616
|
+
|
|
617
|
+
Flags:
|
|
618
|
+
--profile <name> Use specific profile
|
|
619
|
+
|
|
620
|
+
Supported File Types:
|
|
621
|
+
- BPMN files (.bpmn)
|
|
622
|
+
- DMN files (.dmn)
|
|
623
|
+
- Form files (.form)
|
|
624
|
+
|
|
625
|
+
Examples:
|
|
626
|
+
c8ctl watch Watch current directory
|
|
627
|
+
c8ctl watch ./src Watch ./src directory
|
|
628
|
+
c8ctl watch ./src ./forms Watch multiple directories
|
|
629
|
+
c8ctl w ./src Use short alias
|
|
630
|
+
c8ctl watch --profile=dev Watch using specific profile
|
|
631
|
+
`.trim());
|
|
632
|
+
}
|
|
633
|
+
/**
|
|
634
|
+
* Show detailed help for cancel command
|
|
635
|
+
*/
|
|
636
|
+
export function showCancelHelp() {
|
|
637
|
+
console.log(`
|
|
638
|
+
c8ctl cancel - Cancel a resource
|
|
639
|
+
|
|
640
|
+
Usage: c8ctl cancel <resource> <key> [flags]
|
|
641
|
+
|
|
642
|
+
Resources and their available flags:
|
|
643
|
+
|
|
644
|
+
process-instance (pi) <key>
|
|
645
|
+
--profile <name> Use specific profile
|
|
646
|
+
|
|
647
|
+
Examples:
|
|
648
|
+
c8ctl cancel pi 2251799813685249
|
|
649
|
+
c8ctl cancel pi 2251799813685249 --profile=prod
|
|
650
|
+
`.trim());
|
|
651
|
+
}
|
|
652
|
+
/**
|
|
653
|
+
* Show detailed help for resolve command
|
|
654
|
+
*/
|
|
655
|
+
export function showResolveHelp() {
|
|
656
|
+
console.log(`
|
|
657
|
+
c8ctl resolve - Resolve an incident
|
|
658
|
+
|
|
659
|
+
Usage: c8ctl resolve incident <key> [flags]
|
|
660
|
+
|
|
661
|
+
Alias: inc for incident
|
|
662
|
+
|
|
663
|
+
Description:
|
|
664
|
+
Resolves an incident by its key. This marks the incident as resolved
|
|
665
|
+
and allows the process instance to continue.
|
|
666
|
+
|
|
667
|
+
Flags:
|
|
668
|
+
--profile <name> Use specific profile
|
|
669
|
+
|
|
670
|
+
Examples:
|
|
671
|
+
c8ctl resolve inc 2251799813685251
|
|
672
|
+
c8ctl resolve incident 2251799813685251
|
|
673
|
+
c8ctl resolve inc 2251799813685251 --profile=prod
|
|
674
|
+
`.trim());
|
|
675
|
+
}
|
|
676
|
+
/**
|
|
677
|
+
* Show detailed help for fail command
|
|
678
|
+
*/
|
|
679
|
+
export function showFailHelp() {
|
|
680
|
+
console.log(`
|
|
681
|
+
c8ctl fail - Fail a job
|
|
682
|
+
|
|
683
|
+
Usage: c8ctl fail job <key> [flags]
|
|
684
|
+
|
|
685
|
+
Description:
|
|
686
|
+
Marks a job as failed with optional error message and retry count.
|
|
687
|
+
|
|
688
|
+
Flags:
|
|
689
|
+
--profile <name> Use specific profile
|
|
690
|
+
--retries <num> Number of retries remaining (default: 0)
|
|
691
|
+
--errorMessage <msg> Error message describing the failure
|
|
692
|
+
|
|
693
|
+
Examples:
|
|
694
|
+
c8ctl fail job 2251799813685252
|
|
695
|
+
c8ctl fail job 2251799813685252 --retries=3
|
|
696
|
+
c8ctl fail job 2251799813685252 --errorMessage="Connection timeout"
|
|
697
|
+
c8ctl fail job 2251799813685252 --retries=2 --errorMessage="Temporary failure"
|
|
698
|
+
`.trim());
|
|
699
|
+
}
|
|
700
|
+
/**
|
|
701
|
+
* Show detailed help for activate command
|
|
702
|
+
*/
|
|
703
|
+
export function showActivateHelp() {
|
|
704
|
+
console.log(`
|
|
705
|
+
c8ctl activate - Activate jobs by type
|
|
706
|
+
|
|
707
|
+
Usage: c8ctl activate jobs <type> [flags]
|
|
708
|
+
|
|
709
|
+
Description:
|
|
710
|
+
Activates jobs of a specific type for processing by a worker.
|
|
711
|
+
|
|
712
|
+
Flags:
|
|
713
|
+
--profile <name> Use specific profile
|
|
714
|
+
--maxJobsToActivate <num> Maximum number of jobs to activate (default: 10)
|
|
715
|
+
--timeout <ms> Job lock timeout in milliseconds (default: 60000)
|
|
716
|
+
--worker <name> Worker name (default: "c8ctl")
|
|
717
|
+
|
|
718
|
+
Examples:
|
|
719
|
+
c8ctl activate jobs email-service
|
|
720
|
+
c8ctl activate jobs payment-processor --maxJobsToActivate=5
|
|
721
|
+
c8ctl activate jobs data-sync --timeout=120000 --worker=my-worker
|
|
722
|
+
c8ctl activate jobs batch-job --maxJobsToActivate=100 --profile=prod
|
|
723
|
+
`.trim());
|
|
724
|
+
}
|
|
725
|
+
/**
|
|
726
|
+
* Show detailed help for publish command
|
|
727
|
+
*/
|
|
728
|
+
export function showPublishHelp() {
|
|
729
|
+
console.log(`
|
|
730
|
+
c8ctl publish - Publish a message
|
|
731
|
+
|
|
732
|
+
Usage: c8ctl publish message <name> [flags]
|
|
733
|
+
|
|
734
|
+
Alias: msg for message
|
|
735
|
+
|
|
736
|
+
Description:
|
|
737
|
+
Publishes a message to Camunda 8 for message correlation.
|
|
738
|
+
|
|
739
|
+
Flags:
|
|
740
|
+
--profile <name> Use specific profile
|
|
741
|
+
--correlationKey <key> Correlation key for the message
|
|
742
|
+
--variables <json> Message variables as JSON string
|
|
743
|
+
--timeToLive <ms> Message time-to-live in milliseconds
|
|
744
|
+
|
|
745
|
+
Examples:
|
|
746
|
+
c8ctl publish msg payment-received
|
|
747
|
+
c8ctl publish message order-confirmed --correlationKey=order-123
|
|
748
|
+
c8ctl publish msg invoice-paid --variables='{"amount":1000}'
|
|
749
|
+
c8ctl publish msg notification --correlationKey=user-456 --timeToLive=30000
|
|
750
|
+
`.trim());
|
|
751
|
+
}
|
|
752
|
+
/**
|
|
753
|
+
* Show detailed help for correlate command
|
|
754
|
+
*/
|
|
755
|
+
export function showCorrelateHelp() {
|
|
756
|
+
console.log(`
|
|
757
|
+
c8ctl correlate - Correlate a message
|
|
758
|
+
|
|
759
|
+
Usage: c8ctl correlate message <name> [flags]
|
|
760
|
+
|
|
761
|
+
Alias: msg for message
|
|
762
|
+
|
|
763
|
+
Description:
|
|
764
|
+
Correlates a message to a specific process instance.
|
|
765
|
+
|
|
766
|
+
Flags:
|
|
767
|
+
--profile <name> Use specific profile
|
|
768
|
+
--correlationKey <key> Correlation key for the message (required)
|
|
769
|
+
--variables <json> Message variables as JSON string
|
|
770
|
+
--timeToLive <ms> Message time-to-live in milliseconds
|
|
771
|
+
|
|
772
|
+
Examples:
|
|
773
|
+
c8ctl correlate msg payment-received --correlationKey=order-123
|
|
774
|
+
c8ctl correlate message order-confirmed --correlationKey=order-456 --variables='{"status":"confirmed"}'
|
|
775
|
+
c8ctl correlate msg invoice-paid --correlationKey=inv-789 --timeToLive=60000
|
|
776
|
+
`.trim());
|
|
777
|
+
}
|
|
384
778
|
/**
|
|
385
779
|
* Show detailed help for specific commands
|
|
386
780
|
*/
|
|
@@ -401,6 +795,40 @@ export function showCommandHelp(command) {
|
|
|
401
795
|
case 'await':
|
|
402
796
|
showAwaitHelp();
|
|
403
797
|
break;
|
|
798
|
+
case 'mcp-proxy':
|
|
799
|
+
showMcpProxyHelp();
|
|
800
|
+
break;
|
|
801
|
+
case 'search':
|
|
802
|
+
showSearchHelp();
|
|
803
|
+
break;
|
|
804
|
+
case 'deploy':
|
|
805
|
+
showDeployHelp();
|
|
806
|
+
break;
|
|
807
|
+
case 'run':
|
|
808
|
+
showRunHelp();
|
|
809
|
+
break;
|
|
810
|
+
case 'watch':
|
|
811
|
+
case 'w':
|
|
812
|
+
showWatchHelp();
|
|
813
|
+
break;
|
|
814
|
+
case 'cancel':
|
|
815
|
+
showCancelHelp();
|
|
816
|
+
break;
|
|
817
|
+
case 'resolve':
|
|
818
|
+
showResolveHelp();
|
|
819
|
+
break;
|
|
820
|
+
case 'fail':
|
|
821
|
+
showFailHelp();
|
|
822
|
+
break;
|
|
823
|
+
case 'activate':
|
|
824
|
+
showActivateHelp();
|
|
825
|
+
break;
|
|
826
|
+
case 'publish':
|
|
827
|
+
showPublishHelp();
|
|
828
|
+
break;
|
|
829
|
+
case 'correlate':
|
|
830
|
+
showCorrelateHelp();
|
|
831
|
+
break;
|
|
404
832
|
default:
|
|
405
833
|
console.log(`\nNo detailed help available for: ${command}`);
|
|
406
834
|
console.log('Run "c8ctl help" for general usage information.');
|