Commit Graph
11 Commits
Author SHA1 Message Date
Mike McQuaid 36dbad3922 Add frozen_string_literal to all files. 2019-04-20 13:27:36 +09:00
Mike McQuaid e40b171127 Rename cli_parser to cli/parser. 2019-04-17 22:16:50 +09:00
EricFromCanada 560ccddb69 help: rewrap output to 80 columns
Accounts for paragraph breaks and option descriptions. Also fixes some help text nits.
2019-03-11 12:52:07 -04:00
Mike McQuaid e095da4d01 rubocop: enable Layout/EmptyLineAfterGuardClause. 2019-02-21 12:55:49 +00:00
Mike McQuaid 4ace1af297 help: improve command --help output. 2019-01-30 21:39:29 +00:00
EricFromCanada 6b8724431f cli_parser: improve help text formatting
- reduce desc_line_length so `brew help` output fits in 80 columns
- support special formatting across line breaks
- support emphasis using asterisks
- add missing depends_on: tests
2018-10-12 13:38:14 -04:00
Gautham Goli b5b988cbb1 help_spec: fix and generate help text in help.rb 2018-10-03 21:12:44 +05:30
Gautham Goli 7b0f27ca39 style: Fix style errors 2018-10-03 19:49:46 +05:30
Gautham Goli 604dfb4ae6 help: Let OptionParser generate help text for supported commands 2018-10-03 19:49:45 +05:30
Gautham Goli df101dde84 Move --help handling of dev commands to help.rb 2018-10-03 19:20:26 +05:30
Andrew Janke 8b55cb5ecb Refactor commands to remove "require cmd/help" 2018-06-07 04:59:59 -04:00