Skip to content

Releases: akamensky/argparse

v1.4.0

09 Aug 00:31
Compare
Choose a tag to compare

What's Changed

  • Initial implementation of positional arguments by @vsachs in #102

Full Changelog: v1.3.3...v1.4.0

v1.3.3

03 Aug 11:31
Compare
Choose a tag to compare

What's Changed

  • Prefix validation error with argument name by @look in #105

New Contributors

  • @look made their first contribution in #105

Full Changelog: v1.3.2...v1.3.3

v1.3.2

28 Jul 13:38
65ad70c
Compare
Choose a tag to compare

What's Changed

  • Fix coverage reporting by @akamensky in #101
  • Flag ignores default value by @akamensky in #103
  • Flag counter usage fix by @Alec-Bakholdin in #100
  • When subcommand must be present but not provided the error must be triggered by @akamensky in #104

Full Changelog: v1.3.1...v1.3.2

Bugfixes

13 Aug 04:27
6bd6f07
Compare
Choose a tag to compare
  • Fixed #88 by adding a method to check whether os.File has been correctly initialized

v1.3.0: Arg can return the result pointer (#84)

04 Jun 04:00
936824c
Compare
Choose a tag to compare
* Arg interface can return result pointer

* Arg interface can return result pointer

* Add examples & documentation

* add docstring

Co-authored-by: verburgs <[email protected]>
Co-authored-by: vsachs <[email protected]>

v1.2.2: sub-command-help (#72)

25 Aug 07:56
635daa4
Compare
Choose a tag to compare

v1.2.1: Bugfixes

03 Mar 02:49
936811b
Compare
Choose a tag to compare
add a boolean flag to message2string which indicates if the result st…

v1.2.0: Custom help (#50)

29 Jan 05:01
6876ef2
Compare
Choose a tag to compare
* Finishes addressing issue #29

Adds a Settings struct for creating parsers/commands with
NewParserWithSettings or NewCommandWithSettings.

Settings
	HelpDisabled -	defaults false, set true to not generate a help
			argument for parser/command
	HelpSname -	short name for the parser/command help argument.
			Can be left empty
	HelpLname -	long name for the parser/command help argument.
			Leaving empty forces use of -h/--help when
			HelpDisabled is false
	NoExitOnHelp -	defaults false, set true to not exit on help
			argument being parsed

Should resolve all outstanding help argument issues.

* Finishing Issue #29

Fixed merge conflict error due to check function return type change confusion.

* Updated Settings Object to multiple function calls

Added functions:
	DisableHelp
	SetHelp
	ExitOnHelp

Added Command.exitOnHelp

Added more tests to increase code coverage

* Updated no help example

v1.1.0

06 Dec 09:57
4604d96
Compare
Choose a tag to compare
Fix coveralls link (#49)