Releases: sigoden/argc
Releases · sigoden/argc
v1.5.0
What's Changed
- feat: add ARGC_DESCRIBE to choice fn env #134
- feat: support xonsh #135
- fix: single quote escape on powershell/xonsh #137
- feat: export current workdir with ARGC_PWD #138
- fix: escape compgen words for nushell #139
- chore: update validate error message #140
- feat: compgen can control whether to add space #141
- fix: no compgen flags/options if cmd has positional parameter #142
- feat: compgen value dispaly #143
- feat: compgen add
__argc_parts
#144
Full Changelog: v1.4.0...v1.5.0
v1.4.0
What's Changed
- refactor: --argc-compgen line parameter no skip first word #128
- refactor: eval param-fn no sip first word #129
- refactor: param fn accept args list other than line #130
- refactor: compgen #131
- fix: run bash for param fn with --noprofile --norc #132
- fix: shell compgen words escape #133
Full Changelog: v1.3.0...v1.4.0
v1.3.0
What's Changed
- fix: tests with
--release
or--target
by @sigoden in #117 - fix: compgen on multiline doc by @sigoden in #119
- fix: get rid of dup help/version tag in help text by @sigoden in #120
- feat: complete files on value name contains arg/any by @sigoden in #121
- refactor: improve completion scripts by @sigoden in #122
- fix: compgen only one combine shorts by @sigoden in #123
- fix: compgen when set long option value with
=
by @sigoden in #124 - fix: argc variable name for multiple value options by @sigoden in #125
- refactor: improve bash completion by @sigoden in #126
- refactor: omit newline when print version by @sigoden in #127
Full Changelog: v1.2.0...v1.3.0
v1.2.0
What's Changed
- feat: support elvish by @sigoden in #110
- feat: support nushell by @sigoden in #111
- feat: optimize option with mutil vals by @sigoden in #112
- fix: tests depends on pre-installed argc but shouldn't by @sigoden in #114
- refactor: adjust signature of eval fn by @sigoden in #115
Full Changelog: v1.1.0...v1.2.0
v1.1.0
What's Changed
- feat: bash compgen consider COMP_WORDBREAKS by @sigoden in #94
- refactor: bash completion use nospace by default by @sigoden in #95
- refactor: replace clap by @sigoden in #98
- feat: support single dash option by @sigoden in #99
- feat: validate param with choices fn by @sigoden in #100
- feat: support recursive nested subcommand by @sigoden in #101
- feat: support wrap long/multi-line text by @sigoden in #102
- feat: support multi-line doc by @sigoden in #103
- fix: enhance compgen and eval on dashdash by @sigoden in #104
- feat: support skipping choice fn validation by @sigoden in #105
- feat: export
argc__fn
andargc__args
by @sigoden in #106 - refactor: redesign tests by @sigoden in #107
- fix: should failed with validate on empty choices by @sigoden in #108
- fix: param fn accept current line when validate by @sigoden in #109
Full Changelog: v1.0.0...v1.1.0
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
v0.15.1
What's Changed
Full Changelog: v0.15.0...v0.15.1
v0.15.0
What's Changed
Full Changelog: v0.14.0...v0.15.0