@camunda8/cli 4.7.0-alpha.21 → 4.7.0-alpha.23
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/PLUGIN-HELP.md +1 -1
- package/dist/default-plugins/modeler/README.md +10 -1
- package/dist/default-plugins/modeler/c8ctl-plugin.js +964 -55
- package/dist/default-plugins/modeler/package.json +1 -1
- package/dist/default-plugins/setup/c8ctl-plugin.js +90 -3
- package/dist/default-plugins/skills/README.md +10 -1
- package/dist/default-plugins/skills/c8ctl-plugin.js +418 -5
- package/dist/framework/argv-parser.d.ts +14 -0
- package/dist/framework/argv-parser.d.ts.map +1 -1
- package/dist/framework/argv-parser.js +25 -0
- package/dist/framework/argv-parser.js.map +1 -1
- package/dist/framework/plugins/plugin-loader.d.ts +15 -0
- package/dist/framework/plugins/plugin-loader.d.ts.map +1 -1
- package/dist/framework/plugins/plugin-loader.js.map +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +58 -10
- package/dist/index.js.map +1 -1
- package/dist/utils/command-local/skills-install-helpers.d.ts.map +1 -1
- package/dist/utils/command-local/skills-install-helpers.js +99 -1
- package/dist/utils/command-local/skills-install-helpers.js.map +1 -1
- package/package.json +1 -1
package/PLUGIN-HELP.md
CHANGED
|
@@ -154,7 +154,7 @@ A flag handler is called as `handler(args, flags, ctx)`. Read global flags from
|
|
|
154
154
|
| `--yes` | `ctx.yes` |
|
|
155
155
|
| `--fields` | `ctx.fields` |
|
|
156
156
|
|
|
157
|
-
`ctx` also carries `ctx.logger`, `ctx.prompt` and a lazily created `ctx.client`. A bare-function handler receives `ctx` as its third argument too, after a `flags` argument that is `undefined`.
|
|
157
|
+
`ctx` also carries `ctx.logger`, `ctx.prompt` and a lazily created `ctx.client`. A bare-function handler receives `ctx` as its third argument too, after a `flags` argument that is `undefined`. Undeclared flags the user typed (for example a mistyped `--harnes`) are warned about and dropped by the host; their names are exposed as `ctx.unrecognizedFlags` so destructive commands can reject them instead of running with a broader scope than intended. Option-like values a string flag swallowed (for example `--fields -harness=cursor`) remain ordinary values — the host exposes them as `ctx.suspiciousFlagValues` without warning, so destructive commands can reject them while other plugins keep receiving them.
|
|
158
158
|
|
|
159
159
|
#### How flag values are parsed
|
|
160
160
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# c8ctl-plugin-modeler
|
|
2
2
|
|
|
3
|
-
Default c8ctl plugin that
|
|
3
|
+
Default c8ctl plugin that manages Camunda Desktop Modeler.
|
|
4
4
|
|
|
5
5
|
## Commands
|
|
6
6
|
|
|
@@ -8,5 +8,14 @@ Default c8ctl plugin that installs Camunda Desktop Modeler.
|
|
|
8
8
|
macOS (Homebrew or the Camunda-signed release into `/Applications`),
|
|
9
9
|
Windows (winget), or Linux (x64, into `/usr/bin` via sudo). Skips the
|
|
10
10
|
installation when Modeler is already installed.
|
|
11
|
+
- `c8ctl modeler update` — update through Homebrew, winget, or the direct
|
|
12
|
+
release installation method. Reports when the installation is already up to
|
|
13
|
+
date.
|
|
14
|
+
- `c8ctl modeler remove` — uninstall through the matching package manager or
|
|
15
|
+
remove the direct app/release installation. Linux file-type registrations
|
|
16
|
+
are removed with Modeler's bundled XDG unregister script. Unmanaged
|
|
17
|
+
installations are left untouched: direct macOS bundles in `/Applications` or
|
|
18
|
+
`~/Applications` must be signed by Camunda, Windows installs must be managed by
|
|
19
|
+
winget, and Linux installs must use c8ctl's versioned `/usr/bin` link.
|
|
11
20
|
|
|
12
21
|
Supports the global `--dry-run`, `--json`, `--quiet`, and `--verbose` flags.
|