@eventmodelers/cli 0.0.8 → 0.0.9

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.
Files changed (2) hide show
  1. package/cli.js +4 -2
  2. package/package.json +1 -1
package/cli.js CHANGED
@@ -636,7 +636,7 @@ async function installStack(stackKey, stackCfg, options = {}) {
636
636
  // `overrides` are values passed directly on the command line (--token, --board-id,
637
637
  // --organization-id, --base-url) — the most explicit source available, so they
638
638
  // win over both the config file and env vars before we even check what's missing.
639
- async function configureCredentials({ config, configPath, targetDir, requiredFields, boardIdOptional, overrides = {}, print, skipGitignore = false }) {
639
+ async function configureCredentials({ config, configPath, targetDir, requiredFields, boardIdOptional, overrides = {}, print, skipGitignore = false, force = false }) {
640
640
  config = { ...config };
641
641
  for (const [field, value] of Object.entries(overrides)) {
642
642
  if (value) config[field] = value;
@@ -661,7 +661,7 @@ async function configureCredentials({ config, configPath, targetDir, requiredFie
661
661
  }
662
662
  }
663
663
 
664
- const stillMissing = requiredFields.some((f) => !config[f]);
664
+ const stillMissing = force || requiredFields.some((f) => !config[f]);
665
665
  if (stillMissing && print) {
666
666
  console.log('\n ℹ️ --print — skipping credential prompt, missing fields must be set via flags, EVENTMODELERS_* env vars, or config.json');
667
667
  } else if (stillMissing) {
@@ -1009,6 +1009,7 @@ credentialFlags(program
1009
1009
  overrides: {},
1010
1010
  print: globalOpts.print,
1011
1011
  skipGitignore: true,
1012
+ force: true,
1012
1013
  });
1013
1014
 
1014
1015
  // configureCredentials' generic paste/manual flow may have picked up
@@ -1030,6 +1031,7 @@ credentialFlags(program
1030
1031
  boardIdOptional: true,
1031
1032
  overrides,
1032
1033
  print: globalOpts.print,
1034
+ force: true,
1033
1035
  });
1034
1036
  }
1035
1037
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eventmodelers/cli",
3
- "version": "0.0.8",
3
+ "version": "0.0.9",
4
4
  "description": "Eventmodelers CLI — real-time Claude agent + skills for Claude Code, for any stack (Node, Supabase, Axon, Cratis, or modeling-only)",
5
5
  "type": "module",
6
6
  "bin": {