20 Commits

Author SHA1 Message Date
Ikko Ashimine
9a03116899
chore: Fix typo in resolve-input.js (#9554)
intially -> initially
2021-06-07 13:47:24 +02:00
Mariusz Nowak
85b9e5319d fix(Telemetry): Ensure that container commands do not trigger telemetry 2021-04-29 17:38:38 +02:00
Mariusz Nowak
c9be9bcc45 fix(CLI): Do not assume "string" param type, when not type set
Plugins do not set "type" on options they propose, and if they're boolean options, treating them as strings breaks handling
2021-04-02 13:04:48 +02:00
Mariusz Nowak
d9cf52b2c8 fix(CLI): Fix handling of container commands 2021-03-26 10:11:57 +01:00
Mariusz Nowak
2dacbcce85 feat(CLI): Validate command and options against resolved schema 2021-03-24 11:50:24 +01:00
Mariusz Nowak
b6382fdb7a refactor(CLI): Resolve command and options gradually
Against command schemas which we know are supported in given context
2021-03-22 15:31:17 +01:00
Mariusz Nowak
4364acca58 refactor(CLI): Return resolved commandSchema from resolveInput util 2021-03-22 15:31:17 +01:00
Mariusz Nowak
362f5e94e0 refactor(CLI): Expose resolved string command by resolveInput util 2021-03-22 15:31:17 +01:00
Mariusz Nowak
d455b236cf refactor(CLI): Handle "help" with a schema 2021-03-22 15:31:17 +01:00
Mariusz Nowak
ad8f9b0597 fix(CLI): Do not show options order deprecation info with help request 2021-03-22 15:31:17 +01:00
Mariusz Nowak
23f45a34de refactor(CLI): Recognize "--version" on command as help request 2021-03-22 15:31:17 +01:00
Mariusz Nowak
a48117041c refactor(CLI): Integrate isHelpRequest into resolveInput util 2021-03-18 14:36:18 +01:00
lewgordon
a941e87cbf
fix(CLI): Recognize --env option for sls invoke local as multiple
(PR #9131)
2021-03-16 19:27:48 +01:00
Mariusz Nowak
fe663ead50 refactor(CLI): Resolve commands and options by schema 2021-03-16 09:34:33 +01:00
Mariusz Nowak
9ae604591d fix(CLI): Recognize "-s" as "--stage" alias, when expected 2021-02-24 22:01:42 +01:00
Mariusz Nowak
8db64a1f31 refactor(CLI): Refactor "-v" handling 2021-02-24 22:01:42 +01:00
Mariusz Nowak
e7edbcde8c refactor(CLI): Ensure alphabetical order 2021-02-24 22:01:42 +01:00
Mariusz Nowak
6b1921f59e refactor(CLI): Recognize "app" and "org" params 2021-02-24 22:01:42 +01:00
Mariusz Nowak
82b95fc492 fix(CLI): Ensure to recognize "-v" param as boolean in all cases 2021-02-18 09:56:07 +01:00
Mariusz Nowak
9e059d0f45 refactor(CLI): Rely on new CLI args parser 2021-02-11 14:01:41 +01:00