apainintheneck
|
a178fc6a88
|
Cleanup no cask on linux specs
|
2022-10-02 08:51:17 -07:00 |
|
apainintheneck
|
5d27b70757
|
Set --formula by default on linux
|
2022-10-01 17:28:07 -07:00 |
|
apainintheneck
|
020c50e588
|
Warn linux users about using --cask
|
2022-10-01 16:11:39 -07:00 |
|
apainintheneck
|
1d5c668110
|
Remove unused parser option required_for
|
2022-06-08 15:23:58 -07:00 |
|
Issy Long
|
6b76fd012a
|
Fix (auto-correct) RuboCop RSpec/BeNil offenses
|
2022-03-01 00:10:10 +00:00 |
|
Bo Anderson
|
c49dc6803b
|
exceptions: set backtrace for FormulaUnreadableError
|
2021-09-17 00:06:42 +01:00 |
|
FnControlOption
|
326321c1fd
|
cli/parser: allow commands that look like options
|
2021-08-25 14:34:57 -07:00 |
|
Connor Mann
|
ed7066c183
|
Style fix
|
2021-08-06 22:35:16 -04:00 |
|
Connor Mann
|
1581a29b28
|
Update tests
|
2021-08-06 22:34:30 -04:00 |
|
Connor Mann
|
3dde12c634
|
Handle only HEAD kegs in to_latest_kegs
|
2021-08-04 18:51:39 -04:00 |
|
Rylan Polster
|
08b44afcdf
|
cli/parser: allow options to be hidden
|
2021-06-08 22:02:32 -04:00 |
|
Connor Mann
|
d50b32313f
|
Fix to_kegs test
|
2021-05-24 09:17:52 -04:00 |
|
Connor Mann
|
b81a522230
|
Add tests for to_latest_kegs
|
2021-05-23 16:09:35 -04:00 |
|
Connor Mann
|
c18c931224
|
Fix tests
|
2021-05-21 11:52:17 -04:00 |
|
Connor Mann
|
0938500721
|
Update Library/Homebrew/test/cli/named_args_spec.rb
Co-authored-by: Rylan Polster <rslpolster@gmail.com>
|
2021-05-20 12:09:45 -04:00 |
|
Connor Mann
|
cad665406e
|
Update to_kegs tests
|
2021-05-20 12:08:10 -04:00 |
|
Connor Mann
|
2938b2798d
|
Update to_default_kegs tests
|
2021-05-20 12:06:23 -04:00 |
|
Connor Mann
|
08bbb95cfb
|
Add to_kegs test
|
2021-05-19 13:58:55 -04:00 |
|
Connor Mann
|
49aa057188
|
Rename resolve_keg to resolve_default_keg
|
2021-05-19 10:29:40 -04:00 |
|
Connor Mann
|
fe9a9bb24c
|
Rename to_keg to to_default_kegs
|
2021-05-19 09:34:18 -04:00 |
|
Connor Mann
|
d754c0f450
|
Update tests for to_keg
|
2021-05-18 09:57:57 -04:00 |
|
John Bampton
|
1691e615fe
|
Fix spelling
|
2021-05-08 11:20:01 +10:00 |
|
Bo Anderson
|
8e98ce69f3
|
Stricter handling of CLI args
|
2021-03-18 16:41:57 +00:00 |
|
Mike McQuaid
|
d6957a3acb
|
Homebrew 3.0.0 deprecations/disables
|
2021-01-29 19:50:24 +00:00 |
|
Seeker
|
1ce8bd00fb
|
named_args: print error if formula and cask found but one is unreadable
|
2021-01-28 15:21:23 -08:00 |
|
Seeker
|
89930157b5
|
named_args: raise rescued error if both formula/cask are unreadable
|
2021-01-28 15:21:23 -08:00 |
|
Seeker
|
6e0bf05fb5
|
named_args_spec: add tests for unreadable formulae/casks
|
2021-01-25 18:46:33 -08:00 |
|
Rylan Polster
|
01e894e9c6
|
parser: create NumberOfNamedArgumentsError
And commit `brew man` changes
|
2021-01-23 15:26:21 -05:00 |
|
Rylan Polster
|
b7b624c9bf
|
parser: clarify errors for invalid number of args
|
2021-01-23 15:06:44 -05:00 |
|
Rylan Polster
|
1e5a43d5f3
|
parser: fix tests
|
2021-01-18 21:20:11 -05:00 |
|
Rylan Polster
|
b7977244ea
|
parser: automatically generate usage banners
|
2021-01-18 21:16:24 -05:00 |
|
Rylan Polster
|
4710be2fb3
|
parser: add some more tests
|
2021-01-14 20:45:26 -05:00 |
|
Rylan Polster
|
74c1010256
|
parser: add tests for named methods
|
2021-01-14 15:14:10 -05:00 |
|
Rylan Polster
|
da811373d3
|
Add named_args DSL for commands
|
2021-01-13 17:09:42 -05:00 |
|
Rylan Polster
|
3a6f34d27b
|
cli/parser: add tests for inferring option names
|
2020-12-25 15:57:09 -05:00 |
|
Markus Reiter
|
bc24128263
|
Support casks in brew cat .
|
2020-11-19 16:01:10 +01:00 |
|
Markus Reiter
|
3ee66d8c0d
|
Add type annotations related to upgrade.
|
2020-11-16 19:45:15 +01:00 |
|
Markus Reiter
|
5bc626bbe1
|
Completely deprecate Homebrew.args .
|
2020-11-11 08:52:55 +01:00 |
|
Markus Reiter
|
24ae318a3d
|
Move type annotations into files.
|
2020-10-10 14:59:39 +02:00 |
|
Markus Reiter
|
37ecdb28f7
|
Add spec for NamedArgs#to_paths .
|
2020-09-09 22:15:10 +02:00 |
|
William Ma
|
fa7bd3bff6
|
args: Migrate usage of args loading methods to args.named
|
2020-08-23 09:02:20 -04:00 |
|
Mike McQuaid
|
3a91c37e66
|
Fix RuboCop checks.
|
2020-08-19 17:12:32 +01:00 |
|
William Ma
|
b63b56f4c2
|
home: Remove warning for cask with same name
|
2020-08-17 13:08:31 -04:00 |
|
William Ma
|
a7b063efb5
|
named_args: Warn when cask with same name exists
|
2020-08-17 13:06:47 -04:00 |
|
Mike McQuaid
|
c565a2130e
|
Merge pull request #8332 from MLH-Fellowship/named-args
args: Move named args parsing to separate class
|
2020-08-17 15:15:26 +01:00 |
|
William Ma
|
c8016f6c0a
|
named args: add method tests
|
2020-08-14 14:10:55 -04:00 |
|
Markus Reiter
|
4c833b241d
|
Fix parsing of negative options.
|
2020-08-14 20:03:15 +02:00 |
|
Markus Reiter
|
b48bc316e0
|
Use CLI::Parser for cask commands.
|
2020-08-13 05:15:15 +02:00 |
|
Markus Reiter
|
4381c32524
|
Add test for parsing with ignore_invalid_options .
|
2020-07-31 15:07:17 +02:00 |
|
Markus Reiter
|
d4c2ffd705
|
Refactor CLI::Parser .
|
2020-07-31 15:07:17 +02:00 |
|