Skip to content

Releases: fulcrumgenomics/sopt

Release 1.1.0

24 Aug 23:03
Compare
Choose a tag to compare

Minor release that fixes some formatting issues and updates dependencies.

Release 1.0.0

06 Aug 19:33
Compare
Choose a tag to compare

The big change with this release is the addition of cross-build support for 2.12 and 2.13, while dropping support for 2.11.

In addition there is one minor feature - enumeratum-style enums will now print their options in the order in which they are declared when rendering usage.

Release 0.7.0

14 Feb 00:04
Compare
Choose a tag to compare

Minor release that gets a major version bump because:

  • Build has been updated to use latest scala point releases to ensure JDK 9 and 10 runtime compatibility

Release 0.6.1

06 Nov 19:55
Compare
Choose a tag to compare

Minor release with the following improvements:

  • Word wrapping could trim off trailing ANSI terminal codes. (#15)
  • Updating to sbt 1.2.6 and commons 0.6.1 (#20)

Note: there is no 0.6.0 release due to an issue with the POM file when releasing (see 01c912d)

Release 0.5.0

05 Apr 18:38
Compare
Choose a tag to compare

Minor release with the following improvements:

  • Possible values for enums are now printed in green and not the terminal default color
  • Better error messages are produced if an option value cannot be converted to the required type

Release 0.4.0

11 Feb 13:55
Compare
Choose a tag to compare

Minor release with the following changes:

  1. Upgraded commons dependencies to allow arguments of type Char.
  2. Fixed use of short names in error message when mutually exclusive options are used.

Release 0.3.1

15 Nov 17:34
Compare
Choose a tag to compare

Release 0.3.1 is a bugfix release that includes the following changes:

  1. Non @arg-annotated constructor parameters are no longer exposed via the Sopt API

Release 0.3.0

05 Oct 19:09
Compare
Choose a tag to compare

Version 0.3.0 introduces the idea of groups of options. The @arg() annotation has a new element, group which allows options to be grouped together. The default display now shows options grouped by group instead of by required/optional. Required/optional status is shows via color and presence/absence of the string [Optional]

Release 0.2.0

22 Jun 20:46
Compare
Choose a tag to compare

The first release of our scala command line parsing API.

The main API can be seen in the following methods in com.fulcrumgenomics.sopt.Sopt:

  • find: finds classes that extend the given type within the specified package; used to find all command line classes to be exposed on the command line.
  • parseCommand: parses a command line for a single command.
  • parseCommandAndSubCommand: parses a command line for a command/sub-command pair.

See the README for a more detailed example of the usage of these methods.

The sopt project was previously a sub-project of dagr where it was used extensively before becoming a standalone project.