@zitadel/cli 1.0.0-alpha.24 → 1.0.0-alpha.25
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 +315 -131
- package/bin/run.js +8 -0
- package/dist/{groups-CMB0fMzE.mjs → groups-CbWm8kCm.mjs} +1 -1
- package/dist/{groups-CMB0fMzE.mjs.map → groups-CbWm8kCm.mjs.map} +1 -1
- package/dist/index.mjs +3001 -804
- package/dist/index.mjs.map +1 -1
- package/dist/lib/oclif/help.mjs +1 -1
- package/dist/lib/oclif/help.mjs.map +1 -1
- package/oclif.manifest.json +497 -3
- package/package.json +14 -10
- package/skills/zitadel-cli/SKILL.md +260 -0
- package/skills/zitadel-cli/references/driving-login-ui.md +72 -0
- package/SKILLS.md +0 -536
package/bin/run.js
CHANGED
|
@@ -1,4 +1,12 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { execute } from "@oclif/core";
|
|
3
3
|
|
|
4
|
+
// Honour `--no-color` / `--color` across both colour paths before any command
|
|
5
|
+
// module loads. picocolors inspects argv itself, but consola is gated on the
|
|
6
|
+
// environment, so translate the flag to NO_COLOR / FORCE_COLOR here (the
|
|
7
|
+
// `@oclif/core` import above does not pull the command modules — those load
|
|
8
|
+
// inside `execute()`, after this runs). The env vars, when already set, win.
|
|
9
|
+
if (process.argv.includes("--no-color")) process.env.NO_COLOR ||= "1";
|
|
10
|
+
else if (process.argv.includes("--color")) process.env.FORCE_COLOR ||= "1";
|
|
11
|
+
|
|
4
12
|
await execute({ dir: import.meta.url });
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"groups-
|
|
1
|
+
{"version":3,"file":"groups-CbWm8kCm.mjs","names":[],"sources":["../src/lib/oclif/groups.ts"],"sourcesContent":["/**\n * The groups the root help lists commands under, declared in print order: the\n * journey runs from setting up a project, to running the local server, to\n * managing its configuration, to acting on the resources inside it. Every command declares its own group\n * (`static group` on the class) so nothing has to be registered centrally; a\n * command without one lands in the trailing {@link ADDITIONAL_COMMANDS_GROUP}\n * with oclif's own utilities.\n */\nexport const CommandGroups = {\n project: \"Project commands\",\n localServer: \"Local server commands\",\n configuration: \"Configuration commands\",\n resources: \"Resource commands\",\n} as const;\n\nexport type CommandGroup = (typeof CommandGroups)[keyof typeof CommandGroups];\n\nexport const COMMAND_GROUPS: readonly CommandGroup[] = Object.values(CommandGroups);\n\n/** Where ungrouped commands (oclif's `autocomplete`, `search`, …) are listed. */\nexport const ADDITIONAL_COMMANDS_GROUP = \"Additional commands\";\n"],"mappings":";;;;;;;;;AAQA,MAAa,gBAAgB;CAC3B,SAAS;CACT,aAAa;CACb,eAAe;CACf,WAAW;AACb;AAIA,MAAa,iBAA0C,OAAO,OAAO,aAAa;;AAGlF,MAAa,4BAA4B"}
|