v1.0.0
Breaking Change
To migrate from v0 to v1, the only thing you need to do is:
Replace eval "$(argc "$0" "$@")"
with eval "$(argc --argc-eval "$0" "$@")"
in your script.
Otherwise you may encounter an error message like this when running the script:
Argcfile not found, try `argc --argc-help` for help.
What's Changed
- feat: compgen param fn supports cli args by @sigoden in #60
- feat: support dynamic compgen fn by @sigoden in #61
- feat: support no long name flags/options by @sigoden in #62
- feat: add
argc__words
to param fn by @sigoden in #63 - feat: update completion scripts to pass line to param fn by @sigoden in #64
- feat: enhance choice and choice_fn by @sigoden in #65
- fix:
_compgen
breaking eval by @sigoden in #66 - fix: param name allows
.
by @sigoden in #67 - feat: options support multiple value notations by @sigoden in #68
- fix: no subcmds completions for nested subcmd by @sigoden in #69
- feat: abandon dynamic compgen fn by @sigoden in #70
- fix: compgen do not works on multiple postional args by @sigoden in #71
- refactor: improve compgen by @sigoden in #72
- feat: support export cli definition to json by @sigoden in #73
- fix: throw error if @cmd miss fn by @sigoden in #74
- feat: short name accept more special chars by @sigoden in #75
- fix: unexpected nested subcmd alias conflict by @sigoden in #76
- feat: notation value can contains any chars by @sigoden in #77
- feat: enhance cli by @sigoden in #78
- fix: unexpected dup detect for non-cmd/alias function by @sigoden in #80
- feat: export
argc__dashdash
to param fn by @sigoden in #82 - feat: enhanced argc variables extraction on param fn by @sigoden in #83
- feat: compgen supports description by @sigoden in #84
- refactor: adjust export json structure by @sigoden in #85
- feat: abandon
@help
tag by @sigoden in #86 - feat: optimize help subcommand by @sigoden in #87
- fix: compgen options no description by @sigoden in #88
- feat: improve bash compgen by @sigoden in #89
- refactor: bash/powershell compgen hide description by @sigoden in #90
- feat: complete files if no completion words by @sigoden in #91
- feat: use ARGC_COMPLETION_DESCRIPTION toggle description by @sigoden in #92