trello-cli-unofficial 0.10.7 → 0.11.0

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/CHANGELOG.md CHANGED
@@ -1,3 +1,17 @@
1
+ # [0.11.0](https://github.com/JaegerCaiser/trello-cli-unofficial/compare/v0.10.8...v0.11.0) (2025-11-14)
2
+
3
+
4
+ ### Features
5
+
6
+ * add --verbose option for detailed error reporting ([76d0fbe](https://github.com/JaegerCaiser/trello-cli-unofficial/commit/76d0fbedcc6fefbe8841dfb56e1cd095cb224548))
7
+
8
+ ## [0.10.8](https://github.com/JaegerCaiser/trello-cli-unofficial/compare/v0.10.7...v0.10.8) (2025-11-14)
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * use dynamic import for Commander initialization ([0810a65](https://github.com/JaegerCaiser/trello-cli-unofficial/commit/0810a65526ea55f4b6082d0f6964eed62f1eddf6))
14
+
1
15
  ## [0.10.7](https://github.com/JaegerCaiser/trello-cli-unofficial/compare/v0.10.6...v0.10.7) (2025-11-14)
2
16
 
3
17
 
package/bin/cli.js CHANGED
@@ -90,6 +90,21 @@ if (!bunType) {
90
90
  const mainScript = path.join(__dirname, '..', 'dist', 'main.js');
91
91
  const args = process.argv.slice(2);
92
92
 
93
+ // Check for verbose flag
94
+ const isVerbose = args.includes('--verbose') || args.includes('-V');
95
+ if (isVerbose) {
96
+ process.env.VERBOSE_ERRORS = 'true';
97
+ // Remove verbose flag from args so it doesn't interfere
98
+ const verboseIndex = args.indexOf('--verbose');
99
+ if (verboseIndex !== -1) {
100
+ args.splice(verboseIndex, 1);
101
+ }
102
+ const shortVerboseIndex = args.indexOf('-V');
103
+ if (shortVerboseIndex !== -1) {
104
+ args.splice(shortVerboseIndex, 1);
105
+ }
106
+ }
107
+
93
108
  // Use local Bun if available, otherwise global
94
109
  const bunCommand = bunType === 'local'
95
110
  ? path.join(__dirname, '..', 'node_modules', '.bin', 'bun')
@@ -98,6 +113,7 @@ const bunCommand = bunType === 'local'
98
113
  const child = spawn(bunCommand, [mainScript, ...args], {
99
114
  stdio: 'inherit',
100
115
  cwd: process.cwd(),
116
+ env: { ...process.env, VERBOSE_ERRORS: process.env.VERBOSE_ERRORS || 'false' },
101
117
  });
102
118
 
103
119
  child.on('exit', (code) => {