Skip to content

Releases: hellflame/argparse

v1.12.0

19 Nov 15:15
Compare
Choose a tag to compare
  1. extra arguments support (special arguments after --, from #22)
  2. terminal width detect only before help info generation
  3. document update

Extra special arguments support has an example extra-arguments
Terminal width detection invokes a system call stty, only when you need to generate the help info FormatHelp. Which improves the runtime efficient for normal cases (when you don't need to show the help info).

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

v1.11.0

27 May 09:28
Compare
Choose a tag to compare
  1. Color support (NoColor, DefaultColor and your own color schema)
  2. Add build ignore for examples

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

v1.10.0

21 Dec 14:22
Compare
Choose a tag to compare

Simplify error judge.
Before this version, you have to judge the error type returned from Parse
now you can compare it with BreakAfterHelpError (BreakAfterHelp instance) and BreakAfterShellScriptError (BreakAfterShellScript instance)

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

v1.9.0

04 Aug 13:59
Compare
Choose a tag to compare

Complete feature BindParsers, ideas from #18

Full Changelog: v1.8.1...v1.9.0

v1.8.1

27 Jul 00:22
Compare
Choose a tag to compare

Bug fix for #17

(not exactly the problem from Inherit, but invalid arguments for empty sub parsers)

Full Changelog: v1.8.0...v1.8.1

v1.8.0

30 Apr 05:14
Compare
Choose a tag to compare
  1. add support for inheritable
  2. fix cn document

Full Request: #15

Full Changelog: v1.7.6...v1.8.0

v1.7.6

15 Mar 00:32
Compare
Choose a tag to compare
  1. fix usage for required postionals
  2. better help output

Full Changelog: v1.7.5...v1.7.6

v1.7.5

12 Mar 00:52
Compare
Choose a tag to compare

fix help & usage output when there is more than one argument with empty full

thanks to #14

Full Changelog: v1.7.4...v1.7.5

v1.7.4

03 Mar 14:21
Compare
Choose a tag to compare

Improve

  1. get terminal width only once

Full Changelog: v1.7.3...v1.7.4

v1.7.3

02 Mar 15:56
Compare
Choose a tag to compare

Fix for #11 :

  • Invoked Action

if subparser is invoked, the root parser will NOT be invoked.

  • When Not Invoked

if subparser is NOT invoked, no argument's default value will be applied, and required argument will not be checked ... The subparser remains dead.

Full Changelog: v1.7.2...v1.7.3