Releases: DannyBen/bashly
Releases · DannyBen/bashly
v1.2.6
v1.2.5
What's Changed
- Move root variables from
run()
toinitialize()
by @marcinkuzminski and @DannyBen in #568
Full Changelog: v1.2.4...v1.2.5
v1.2.4
What's Changed
- Add
command.variables
as a convenience utility for defining global command variables by @zeroSteiner, @marcinkuzminski and @DannyBen in #563 - Update JSON schema to include
command.variables
by @EmilyGraceSeville7cf and @DannyBen in #564 - Refactor
command.variables
to a newVariable
object by @DannyBen in #565 - Add black and white to color library by @bguijt and @DannyBen in #567
Full Changelog: v1.2.3...v1.2.4
v1.2.3
v1.2.2
What's Changed
- Refactor autoloading with
requires
1.1.0 by @DannyBen in #539 - Add support for needy flags:
flag.needs
by @codevogel abd @DannyBen in #543 - Refactor
Command::Introspection
by @DannyBen in #544 - Add support for environment variable validations by @ichoosetoaccept and @DannyBen in #546
- Update script generation to allow bash variables in some YAML strings by @ichoosetoaccept and @DannyBen in #549
- Allow ad-hoc revealing of private commands, flags, and environment variables by @mcblum and @DannyBen in #550
- Update completions library to consider private visibility setting by @DannyBen in #551
- Update mandoc/markdown library to consider private visibility setting by @DannyBen in #552
Full Changelog: v1.2.1...v1.2.2
v1.2.1
What's Changed
- Add validation to disallow required args before optional by @DannyBen in #533
- Fix shellcheck violations by @jhakonen and @DannyBen in #535
- Refactor static analysis checks by @DannyBen in #536
- Fix default command not being triggered when only flags are provided by @DannyBen in #538
Full Changelog: v1.2.0...v1.2.1
v1.2.0
What's Changed
- Fix usage string when there is a forced default command by @DannyBen in #518
- Add 'Global Options' caption when appropriate by @stratosgear and @DannyBen in #519
- Remove redundant code in usage function by @DannyBen in #528
- Update default command usage to show optional brackets by @codevogel and @DannyBen in #529
- Add
show_examples_on_error
setting by @codevogel and @DannyBen in #530 - Fix
show_examples_on_error
when no examples by @codevogel and @DannyBen in #531
Full Changelog: v1.1.10...v1.2.0
v1.1.10
What's Changed
- Sanitize percent signs in help messages by @DannyBen in #507
- Drop support for Ruby 3.0 by @DannyBen in #508
- Fix input normalization to ignore anything after the double dash (--) operator by @MIOB and @DannyBen in #511
- Add
[--]
to usage text whencatch_all
is used by @DannyBen in #512 - Add
conjoined_flag_args
to allow disabling the--flag=arg
normalization by @MIOB and @DannyBen in #513
Full Changelog: v1.1.9...v1.1.10
v1.1.9
What's Changed
- Remove heredoc examples by @DannyBen in #502
- Refactor repeatable+unique args and flag args by @pcrockett and @DannyBen in #504
- Add
Renderable#render_options
forargument/case.gtx
by @DannyBen in #506 - Fix repeatable args when the input has quotes
0d35217
- Fix repeatable flag args when the input has quotes
ab34fc0
- Update
Approvals.bash
to v0.5.18e12d55
Full Changelog: v1.1.8...v1.1.9
v1.1.8
What's Changed
- Fix typos by @kianmeng in #494
- Add codespell configuration and CI job by @DannyBen in #495
- Add support for using heredoc by @DannyBen in #496
- Refactor indentation with a dedicated class by @DannyBen in #497
- Move IndentationHelper to concerns directory by @DannyBen in #498
- Update flag-args-with-dash test to validate #499 by @DannyBen in #500
Full Changelog: v1.1.7...v1.1.8