14 Commits

Author SHA1 Message Date
Max Marze
893bfa7aef
chore: update eslint & prettier (#12553) 2024-05-29 11:51:04 -04:00
Mariusz Nowak
2cf86e4ee9 refactor: Rename lib/utils/logDeprecation.js 2022-01-27 15:21:58 +01:00
Mariusz Nowak
eedaa2469f feat(CLI): Simplify CLI args parsing to <command> <options> format
BREAKING CHANGE:
CLI params put before command tokens are no longer recgonized (e.g. `sls -f <function-name> deploy function` will no longer work). In all cases construct CLI args in `sls <command> <options>` order
2022-01-27 15:21:58 +01:00
Mariusz Nowak
81ddcf8ecb test: Upgrade from deprecated forms when not testing them intentionally 2021-06-21 17:31:50 +02:00
Mariusz Nowak
2dacbcce85 feat(CLI): Validate command and options against resolved schema 2021-03-24 11:50:24 +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
a48117041c refactor(CLI): Integrate isHelpRequest into resolveInput util 2021-03-18 14:36:18 +01:00
Mariusz Nowak
4021ab4140 test(CLI): Improve coverage 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
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