fix(smartcli.helpers): Improve CLI argument parsing and Deno runtime detection; use getUserArgs consistently
This commit is contained in:
@@ -1,5 +1,14 @@
|
||||
# Changelog
|
||||
|
||||
## 2025-10-28 - 4.0.16 - fix(smartcli.helpers)
|
||||
Improve CLI argument parsing and Deno runtime detection; use getUserArgs consistently
|
||||
|
||||
- Enhance getUserArgs() to prefer Deno.args but detect when process.argv was manipulated (e.g. in tests) and fallback to manual parsing
|
||||
- Add robust handling of process.execPath / execPath basename and compute correct argv offset for known launchers vs. compiled executables
|
||||
- Call getUserArgs() (no explicit process.argv) from Smartcli.getOption and Smartcli.startParse to ensure consistent cross-runtime behavior
|
||||
- Expand readme.hints.md with detailed cross-runtime examples and explanation of Deno.args vs process.argv for compiled executables
|
||||
- Add local claude settings file for tooling configuration
|
||||
|
||||
## 2025-10-28 - 4.0.15 - fix(smartcli.helpers)
|
||||
Add robust getUserArgs helper and refactor Smartcli to use it; add MIT license and update documentation
|
||||
|
||||
|
||||
Reference in New Issue
Block a user