Skip to content

Refactor subcommands into (stackable) options

Compare
Choose a tag to compare
@chriskilding chriskilding released this 26 Jun 23:24
· 3 commits to master since this release
f8243a4

Additions

  • Subcommands that used to be mutually exclusive can now be stacked because they have become CLI options. Example: semver -st sorts versions and then prints them in a custom (TSV) format.

Changes

  • Former subcommand functionality has been condensed into the main semver command, and is activated by CLI options (#45).

Removals

  • semver grep -c (pipe semver output to wc instead).
  • semver find (pipe find output to semver instead).
  • semver sort -r (pipe semver -s output to tac instead).