Skip to content

Releases: mailund/cli

Choices and files

02 Jul 04:38
Compare
Choose a tag to compare

Adds a Choice type for selecting values from a small set and InFile and OutFile for file options.

New Values system

29 Jun 08:25
1cba3e1
Compare
Choose a tag to compare

This is a more flexible and hopefully more stable way to handle argument values, especially because a user can define his or her own.

Usage fix

25 Jun 07:01
Compare
Choose a tag to compare

Usage was set recursively, meaning that subcommands would show the doc from their parents.


Commands now created from a specification

25 Jun 06:48
Compare
Choose a tag to compare

cli now uses reflection to extract flags and positional arguments from a type, and the NewCommand function uses a spec to setup a new command structure.

First versioned release

20 Jun 13:29
Compare
Choose a tag to compare
v0.0.1

other variadic types