fix(smartcli): Allow passing argv to startParse and improve getUserArgs Deno/runtime handling; update tests and add license
This commit is contained in:
@@ -1,5 +1,13 @@
|
||||
# Changelog
|
||||
|
||||
## 2025-10-28 - 4.0.18 - fix(smartcli)
|
||||
Allow passing argv to startParse and improve getUserArgs Deno/runtime handling; update tests and add license
|
||||
|
||||
- Smartcli.startParse now accepts an optional testArgv parameter to bypass automatic runtime detection (makes testing deterministic).
|
||||
- getUserArgs logic refined: always prefer Deno.args when available (handles Deno run and compiled executables reliably) and improve execPath fallback and slicing behavior for Node/Bun/other launchers.
|
||||
- Tests updated: test/test.node+deno+bun.ts now passes process.argv explicitly to startParse to avoid Deno.args interference in test environments.
|
||||
- Added MIT LICENSE file and a local .claude/settings.local.json for environment/permission settings.
|
||||
|
||||
## 2025-10-28 - 4.0.17 - fix(license)
|
||||
Add MIT license and local Claude settings
|
||||
|
||||
|
||||
Reference in New Issue
Block a user