Skip to content

Releases: DannyBen/bashly

v0.8.4

04 Sep 13:57
Compare
Choose a tag to compare
  • Update completely to version 0.5.0 (#248). From the completely changelog:
    • Fix shellcheck SC2162 in the generated script
    • Fix shellcheck SC2124 in the generated script
    • Hide flag completion unless input ends with a hyphen

Full Changelog: v0.8.3...v0.8.4

v0.8.3

16 Aug 18:50
Compare
Choose a tag to compare
  • Switch from ERB to GTX templates (#240)
  • Normalize templates (#241)
  • Show error instead of usage on invalid command call (#245)

Full Changelog: v0.8.2...v0.8.3

v0.8.2

01 Jun 14:36
Compare
Choose a tag to compare

Configuration Changes

  • Add command.expose to show subcommands in parent command's help (#230, #232, #236)
  • Change the command.group option so that it no longer sticky (#230)
    • ⚠️ Action Required: If you are using this feature, all commands that need to be under a certain group must have the group option.

CLI Changes

  • Add --watch to the generate command (#237)

Internal Changes

  • Revert (remove) CommandScopes (#231)
  • Fix parents revalidation issue (#235)

Full Changelog: v0.8.1...v0.8.2

v0.8.1

22 May 05:37
Compare
Choose a tag to compare
  • Improve non-unique command validation by testing name and aliases together (#223)
  • Improve bash completion generation (#225)
  • Fix zsh incompatibilities by upgrading completely to 0.4.1 (#227)
  • Fix completions for deep command aliases (#228)

Full Changelog: v0.8.0...v0.8.1

v0.8.0

12 May 06:03
Compare
Choose a tag to compare

⚠️ Deprecation Notice:

The short option for command is now called alias. The short option will be supported for a while, but you should update your bashly.yml files if you are using it (see #220)


  • Rename Command.short to Command.alias and add support for multiple values #220
  • Add deprecation warning for command.short #221
  • Validate uniqueness of command args, flags and subcommands #222

Full Changelog: v0.7.10...v0.8.0

v0.7.10

29 Apr 08:36
Compare
Choose a tag to compare

Changes

  • Disallow catch_all together with repeatable arg (#209)
  • Add support for generating tab-indented scripts using BASHLY_TAB_INDENT (#217)
  • Add settings.yml as an alternative to environment variables (#218)
  • Support env value in settings.yml as an alternative to BASHLY_ENV (#219)

Internal Refactoring

  • Refactor parse_requirements views (#212)
  • Refactor flag case view (#213)
  • Add some specs for improved branch-level coverage (#214)
  • Reduce cognitive complexity in Command#load_user_file (#215)

Full Changelog: v0.7.9...v0.7.10

v0.7.9

02 Apr 07:57
Compare
Choose a tag to compare
  • Add support for repeatable args #202
  • Abort generation if the config file contains unknown keys #205
  • Allow generating script without file marker comments #206
  • Add a help footer when running bashly without arguments #207

Full Changelog: v0.7.8...v0.7.9

v0.7.8

11 Mar 07:44
Compare
Choose a tag to compare
  • Remove --version from subcommands #198

Full Changelog: v0.7.7...v0.7.8

v0.7.7

20 Feb 16:18
Compare
Choose a tag to compare
  • Add bashly version to generated script header comment (#190)
  • Fix whitelist filter on repeatable flags (#191)
  • Add BASHLY_LIB_DIR configuration variable (#193)
  • Add more friendly errors on invalid configuration (#194)
  • Ruby 3.1 adjustments (#195)

Full Changelog: v0.7.6...v0.7.7

v0.7.6

18 Feb 07:33
Compare
Choose a tag to compare
  • Add support for repeatable flags (#180)
  • Make args array available in user filters (#182)
  • Add support for exclusive flags (conflicts) (#182)
  • Add approvals.bash testing library (#183)

Full Changelog: v0.7.5...v0.7.6