File tree Expand file tree Collapse file tree 3 files changed +2
-2
lines changed
Expand file tree Collapse file tree 3 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -38,6 +38,7 @@ Each of these examples demonstrates one aspect or feature of bashly.
3838- [ filters] ( filters#readme ) - preventing commands from running unless custom conditions are met
3939- [ commands-expose] ( commands-expose#readme ) - showing sub-commands in the parent's help
4040- [ key-value-pairs] ( key-value-pairs#readme ) - parsing key=value arguments and flags
41+ - [ command-examples-on-error] ( command-examples-on-error#readme ) - showing examples on error
4142
4243## Customization
4344
Original file line number Diff line number Diff line change @@ -3,6 +3,6 @@ if Settings.show_examples_on_error && examples.any?
33
44 > printf "{{ strings[:examples_caption_on_error] }}\n" >&2
55 examples.each do |example|
6- > printf "{{ example.wrap(78).indent(2).sanitize_for_print }}\n" >&2
6+ > printf "{{ example.wrap(78).indent(2).sanitize_for_print }}\n" >&2
77 end
88end
Original file line number Diff line number Diff line change 627627 expect ( subject . default_command . usage_string ) . to eq 'cli [get]'
628628 end
629629 end
630-
631630 end
632631
633632 describe '#user_file_path' do
You can’t perform that action at this time.
0 commit comments