All Versions
48
Latest Version
Avg Release Cycle
12 days
Latest Release
81 days ago

Changelog History
Page 4

  • v1.6.18

    January 04, 2020
    • added: WithOnSwitchCharHit, WithOnPassThruCharHit
    • bug fixed
    • reviewing and refactoring
  • v1.6.17

    December 30, 2019

    better supports to flag child package and migrating from stdline flag.
    supports to shell prompt mode, see also new release of cmdr-http2, which demostrates how to integrate cmdr with go-prompt.

    • Match(cmdline, opts...): match the arguments line (no os.Args[0]).
    • WithNoCommandAction(bool)
  • v1.6.15

    December 27, 2019
    • patch to fix errors package
  • v1.6.13

    December 26, 2019
  • v1.6.12

    December 24, 2019
  • v1.6.11

    December 22, 2019
    • bugs fixed
      • fixed the group of built-in cmds/flags,
      • for sequence -v5 -v, the valid short option -v5 will be reported as can't be found,
        • infinite loop for parsing tight short flags
      • for GetStringR(keyPath, defaultValue), defaultValue can't applied to the key if it has an empty string value.
      • ...
    • apis break: These apis adds default value as parameter, such as NewBool(bool)... now, instead of NewBool():

      • NewBool(bool), NewString(string), NewStringSlice([]string), NewIntSlice([]int), NewInt(int), NewUint(uint), NewInt64(int64), NewUint64(uint64), NewFloat32(float32), NewFloat64(float64), NewDuration(time.Duration),
    • adds WithHelpTailLine(line) for the customizable dim tail line

  • v1.6.9

    December 10, 2019
    • Adds WithWatchMainConfigFileToo(bool)
    • v1.6.8 for a nacl bug
      • Adds PressEnterToContinue(), PressAnyKeyToContinue()
      • Adds StripQuotes(s), StripPrefix(s,p)
      • Fluent API: Since v1.6.9, deprecated cmdopt.NewFlag(flagType) will be replaced with cmdopt.NewFlagV(defaultValue); single flagopt.Placeholder(str) available too.
      • Flag.EnvVars be available now. And newFlagOpt.EnvKeys(keys...) with same effect in Fluent API style.
    • bugs fixed (better InTesting())
  • v1.6.8

    December 05, 2019
  • v1.6.7

    November 16, 2019
    • v1.6.7

      • TrapSignalEnh() and TrapSignal(), and SignalQuitSignal,...
      • InDebugging(), isdelve (refer to here) - To use it, add -tags=delve:
      go build -tags=delve cli/main.go
      go run -tags=delve cli/main.go --help
      
      • example/fluent: howto attach --trace
      • GetStringNoExapndXxx() for string option value extraction (no envvar expanding)
      • more enhancements of Fluent API: ToCommand, ToFlag, AttachToxxx
      • for ~~debug:
      bin/fluent --help ~~debug --raw --env --more
      

      --raw: dump option value with golang format, without envvar expanding

      --env: dump environment inside app

      --more: other information dump

  • v1.6.5

    November 06, 2019
    • v1.6.5 - logex integration