cmdr v1.6.11 Release Notes

Release Date: 2019-12-22 // over 4 years ago
    • 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