40 Commits

Author SHA1 Message Date
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
8b301dce9c refactor(CLI): Generalize handling of not supported commands 2021-03-16 09:34:33 +01:00
Mariusz Nowak
fe663ead50 refactor(CLI): Resolve commands and options by schema 2021-03-16 09:34:33 +01:00
Mariusz Nowak
aa9d8df2de fix(CLI): Fix options schema for "info" command 2021-03-16 09:34:33 +01:00
Mariusz Nowak
116fe85fbe refactor(CLI): Schema for @serverless/enterprise-plugin commands
This plugin is scheduled to be integrated into this repository, therefore maintaining the schema here is justified at this point
2021-03-16 09:34:33 +01:00
Mariusz Nowak
ed553a7526 refactor(CLI): Add Dashboard specific options to commands schema 2021-03-16 09:34:33 +01:00
Mariusz Nowak
21cc4cf8cb refactor(CLI): Expose "--help" in supported command options 2021-03-16 09:34:33 +01:00
Mariusz Nowak
b9afc144bf refactor(CLI): Recognize interactive setup command in commands schema 2021-03-16 09:34:33 +01:00
Mariusz Nowak
78d0e9ee45 refactor(CLI): At schema define "--config" option 2021-03-16 09:34:33 +01:00
Mariusz Nowak
e969bb356b fix(AWS Local Invocation): Do not document -c as --context alias
As it's an alias for `--config` option which is handled before command is processed
2021-03-16 09:34:33 +01:00
Mariusz Nowak
bfde21907b fix(CLI): Recognize --stage & --region on every AWS service command 2021-03-16 09:34:33 +01:00
Mariusz Nowak
a1804f6300 fix(CLI): Fix categorization of service dependent commands 2021-03-16 09:34:33 +01:00
Mariusz Nowak
14a2640bd9 refactor(CLI): Seclude schema of core commands 2021-03-16 09:34:33 +01:00
Piotr Grzesik
a79473d8b1 fix(CLI): Properly report SDK version when handling errors 2021-03-10 10:24:44 +01:00
Piotr Grzesik
2b857c7eb4
feat(CLI): Report Platform Client instead of SDK version (#9092) 2021-03-09 12:30:50 +01:00
Mariusz Nowak
774358271e refactor: Seclude tokenizeException util 2021-03-05 16:20:03 +01:00
Mariusz Nowak
a9e3a66735 refactor(CLI): Resolve .env files before intializing Serverless instance 2021-02-25 16:57:11 +01:00
Mariusz Nowak
5ca4b639fb refactor: Remove "async" mark from sync function 2021-02-25 16:57:11 +01:00
Mariusz Nowak
b5ad0e4a42 refactor(CLI): Rename load-dotenv util 2021-02-25 16:57:11 +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
5acdc0a5e0 fix(CLI): Fix resolution of empty valued params as param= 2021-02-22 15:10:17 +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
b17c461a12
fix(CLI): Ensure support for upper case params 2021-02-16 20:59:48 +01:00
Mariusz Nowak
7e3e50bca2
fix(CLI): Ensure to support "_" in param names (#8952) 2021-02-16 18:19:17 +01:00
Mariusz Nowak
9e059d0f45 refactor(CLI): Rely on new CLI args parser 2021-02-11 14:01:41 +01:00
Piotr Grzesik
053bcc7624 fix: Properly resolve local version 2021-02-08 11:06:36 +01:00
Mariusz Nowak
9b7315f080 fix(CLI): Fix resolution of service path with nested config involved 2021-01-26 16:25:19 +01:00
Mariusz Nowak
cd5a739265 fix(CLI): Fix resolution of "--config=<configPath>" format 2021-01-25 13:15:51 +01:00
Mariusz Nowak
f274cd7637 refactor: Seclude configuration parse from internals 2021-01-22 14:57:10 +01:00
Mariusz Nowak
7339351de3 fix(CLI): Bring back support for referencing nested configurations 2021-01-22 09:32:25 +01:00
Mariusz Nowak
aea9f9397c feat(CLI): Support absolute path at "--config" 2021-01-20 16:21:47 +01:00
Mariusz Nowak
8451b8908c refactor(CLI): Remove redundant arg
`path.resolve` by default resolves against working dir
2021-01-20 16:21:47 +01:00
Mariusz Nowak
b23bfdbf6a refactor(CLI): Seclude service config path resolution out of internals 2021-01-18 16:19:12 +01:00
Mariusz Nowak
b61621adeb refactor(CLI): Seclude version output functionality out of CLI class 2021-01-11 15:57:02 +01:00
Mariusz Nowak
847fa3412d feat: Seclude main error handler to standalone util 2021-01-08 15:06:14 +01:00
Mariusz Nowak
9d78348289 refactor: Seclude cli/resolve-local-serverless-path util 2021-01-08 15:06:14 +01:00