Skip to content

Releases: sigoden/argc

v1.14.0

27 Nov 04:24
Compare
Choose a tag to compare

What's Changed

  • feat: replace argc__last_flag_option with argc__option #279

Full Changelog: v1.13.0...v1.14.0

v1.13.0

27 Nov 01:19
Compare
Choose a tag to compare

What's Changed

  • refactor: optimize the search for bash.exe in windows #275
  • feat: support tcsh #276
  • refactor: argc help text #277
  • refactor: improve tests and examples #278

Full Changelog: v1.12.1...v1.13.0

v1.12.1

15 Nov 02:40
Compare
Choose a tag to compare

What's Changed

Full Changelog: v1.12.0...v1.12.1

v1.12.0

13 Nov 09:26
Compare
Choose a tag to compare

What's Changed

  • refactor: help rendering of multi-occurs/multi-values options #256
  • fix: completion problem on bash/zsh #258
  • feat: support symbol parameter #260
  • feat: support option starts with + #261
  • feat: support allow-empty option #262
  • feat: auto-search completion script in ARGC_COMPLETIONS_PATH #264
  • refactor: compgen path if no argc script is found for the command #267
  • feat: value notation modifier #268

Full Changelog: v1.11.0...v1.12.0

v1.11.0

12 Oct 06:45
Compare
Choose a tag to compare

What's Changed

Full Changelog: v1.10.0...v1.11.0

v1.10.0

19 Sep 03:36
Compare
Choose a tag to compare

What's Changed

  • refactor: prefixed option endsWith -* #236
  • fix: compgen prefixed option with nospace #237
  • feat: compgen file proto #238
  • refactor: nushell completion deprecate let-env #239
  • refactor: prefixed option supports multi/non-multi #240
  • fix: notations are seperated by only one space #241
  • refactor: change value color to default #242
  • refactor: compgen ignore commands's 1char aliases #243
  • feat: export argc__last_flag_option #244
  • feat: support @meta #245
  • feat: support @meta combine-shorts #246
  • feat: support @meta inherit-flag-options #247
  • feat: option multi arguments/occurences #248
  • fix: compgen incomplete if last arg is subcommand #249

Full Changelog: v1.9.0...v1.10.0

v1.9.0

25 Aug 06:25
Compare
Choose a tag to compare

What's Changed

  • refactor: param data struct #218
  • feat: support profixed option #219
  • feat: support flag command #220
  • feat: run Argcfile.sh without child process #222
  • feat: sanitize command name #223
  • feat: option name supports special chars #224
  • fix: sanitize command name don't replace _ to - #225
  • refactor: use tailing '-' to mark prefixed option #226
  • refactor: change match logic of option with multi value #227
  • fix: compgen add help to candidates #228
  • fix: don't match subcmd if prev arg have not match any subcmd #229
  • feat: compgen export argc__cmd_fn #230
  • refactor: export json #231
  • fix: dashes parsing #233
  • refactor: rename argc__index to argc__cmd_arg_index #234
  • refactor: rename ARGC_FILTER to ARGC_CWORD #235

Full Changelog: v1.8.0...v1.9.0

v1.8.0

26 Jul 02:21
Compare
Choose a tag to compare

What's Changed

  • chore: improve release ci #199
  • fix: redirect symbols should complete file #200
  • refactor: don't complete file on extra unknown positionals #201
  • fix: allow muti char / #202
  • fix: bash should not escape if there are multi candidates #203
  • chore: fix release ci #204
  • feat: compgen supports __argc_suffix #205
  • refactor: defer choice fn validation #206
  • refactor: compgen abandon ARGC_PATH_SEP/ARGC_DESCRIBE #207
  • fix: parse error with special character #208
  • feat: compgen add __argc_path macro #209
  • refactor: compgen description remove wrapped parentheses #210
  • feat: compgen delegate #211
  • refactor: compgen color #212
  • feat: make shell not sort candidates by default #213
  • refactor: argc-eval generated script #214
  • refactor: optimize code #215
  • fix: compgen path #216
  • fix: compgen truncate cjk description broken #217

Full Changelog: v1.7.0...v1.8.0

v1.7.0

03 Jul 13:00
Compare
Choose a tag to compare

What's Changed

  • fix: optimize compgen on option assign #165
  • fix: optimize completion scripts #166
  • fix: optimize bash compgen when candidates have common prefix #167
  • feat: powershell/xonsh supports custom complete file/dir #168
  • feat: compgen both candidates and argc value #169
  • feat: complete --argc-* #170
  • feat: optimize nushell/xonsh completions #171
  • fix: optimize powershell/nushell completion scripts #172
  • fix: compgen just match option #173
  • feat: bash completion with description by default #174
  • fix: compgen with arg that is redirect symbol #175
  • fix: compgen don't generate options if cli has subcmds when no args #176
  • feat: compgen filedir #177
  • fix: put -- to positionals after matched terminal arg #178
  • feat: compgen supports color #179
  • fix: compgen file filter with suffix show dirs #180
  • feat: run choice fn with env ARG_COMPGEN=1 #181
  • feat: compgen supports more compkinds and colors #182
  • feat: compgen complete file allow cd #183
  • feat: export ARGC_OS/ARGC_PATH_SEP to param fn #184
  • refactor: adjust some error messages #185
  • feat: compgen flags/options only after tab - #186
  • feat: supports parallel #187
  • refactor: rename argc_matcher to argc_filter #188
  • fix: bash completion #189
  • fix: zsh completion #190
  • feat: comp_kind add valueOther #191
  • chore: update ci #192
  • refactor: abandon __argc_suffix: #193
  • feat: autofix quote between __argc_filter and _argc_prefix #194
  • refactor: use = as __argc_var's value sepeartor #195
  • fix: bash file completion #196
  • refactor: rename argc_dashdash to argc_dashes #197
  • refactor: param fn must be called with internal marker #198

Full Changelog: v1.6.0...v1.7.0

v1.6.0

24 Jun 23:59
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v1.5.0...v1.6.0