Getoptions Versions Save

An elegant option/argument parser for shell scripts (full support for bash and all POSIX shells)

v3.3.0

3 years ago

Added

  • getoptions: Make the parser name optional
  • Support installation via Homebrew

v3.2.0

3 years ago

Added

  • Added the feature to parse options directly by default parser name

v3.1.0

3 years ago

Added

  • gengetoptions: Added embed subcommand.

Changed

  • gengetoptions: Deprecate the -d (--definition) option.

v3.0.0

3 years ago

Added

  • Added support for --with-* and --without-* options.
    • #20: Thanks to Cem Keylan.
  • Added new option parser generator gengetoptions.
  • Added build system.
  • Added support for handling of missing commands (eval "$(getoptions ...) exit 1").

Changed

  • Changed Attribute off to no. [breaking change]
  • Changed initial value @off to @no. [breaking change]
  • Renamed lin/getoptions.sh to lin/getoptions_base.sh. [breaking change]
  • Moved library generation feature of getoptions to gengetoptions [breaking change]

Removed

  • Removed incomplete scanning modes =, #. [breaking change]
  • Removed getoptions-cli and replaced it with gengetoptions. [breaking change]

v2.5.1

3 years ago

Changed

  • Add SC2034 to shellcheck directive in generated code

Fixed

  • Fixed a bug that omitting the value of key-value would be an incorrect value.
  • Fix handling of unknown short options in mode = and #.

v2.5.0

3 years ago

Added

  • Added some options for /bin/getoptions.
  • Added scanning modes =, #, @.

v2.4.0

3 years ago

Added

  • Added new /bin/getoptions (external command version for getoptions).

Changed

  • Renamed previous /bin/getoptions to /bin/getoptions-cli.

v2.3.0

3 years ago
  • 2.3.0 - 2020-11-17
    • Added getoptions CLI (generator).
    • Fixed a bug that omitting the value of key-value would be an incorrect value.

v2.2.0

3 years ago
  • 2.2.0 - 2020-11-14
    • Support for subcommands.

v2.1.0

3 years ago
  • 2.1.0 - 2020-11-03
    • Support for abbreviating long options.