eventmodeler 0.6.6 → 0.6.7
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.js +8 -6
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -2176,7 +2176,7 @@ function formatSuccessMessage(email) {
|
|
|
2176
2176
|
|
|
2177
2177
|
// src/commands/auth.ts
|
|
2178
2178
|
var LOGIN_HELP = `
|
|
2179
|
-
Opens a Keycloak browser flow and writes tokens to ~/.
|
|
2179
|
+
Opens a Keycloak browser flow and writes tokens to ~/.eventmodeler/config.json.
|
|
2180
2180
|
Idempotent — exits early if you're already logged in.
|
|
2181
2181
|
|
|
2182
2182
|
Response: writes status to stderr; no JSON output.
|
|
@@ -3817,12 +3817,14 @@ var REMOVE_HELP = `
|
|
|
3817
3817
|
Remove an element from the model.
|
|
3818
3818
|
|
|
3819
3819
|
For linkable types (events, read-models, screens, processors, external-events),
|
|
3820
|
-
removing the canonical original cascade-deletes its linked copies and
|
|
3821
|
-
|
|
3822
|
-
|
|
3820
|
+
removing the canonical original cascade-deletes its linked copies and every
|
|
3821
|
+
flow that touches the original or one of its copies. To delete a single
|
|
3822
|
+
linked copy without touching the original, address the copy by uuid:
|
|
3823
3823
|
|
|
3824
|
-
|
|
3825
|
-
|
|
3824
|
+
eventmodeler --id <copy-uuid> remove event
|
|
3825
|
+
|
|
3826
|
+
For non-linkable types and for single linked copies addressed via --id, only
|
|
3827
|
+
the matched entry is removed; connected flows are left in place.
|
|
3826
3828
|
`;
|
|
3827
3829
|
function registerRemoveCommands(program) {
|
|
3828
3830
|
program.command("remove <type> [name]").description(`Remove an element. Types: ${knownTypeAliases().join(", ")}`).option("--model <id>", "Model id (defaults to .eventmodeler.json in cwd)").addHelpText("after", REMOVE_HELP).action(async (type, name, opts) => {
|