58 Commits

Author SHA1 Message Date
Piotr Grzesik
dee54ed55c feat(CLI Onboarding): Present default project name if possible 2021-05-19 16:48:40 +02:00
Piotr Grzesik
f1a288ce2c feat(CLI Onboarding): Support template and template-url options 2021-05-19 14:58:19 +02:00
Piotr Grzesik
ed25868110 test: Adjust interactive CLI test after plugin changes 2021-05-17 17:46:12 +02:00
Piotr Grzesik
da7a70d83f feat(CLI Onboarding): Remove serverless.template.yml from template 2021-05-17 15:55:23 +02:00
Piotr Grzesik
acc9010d79 feat(CLI Onboarding): Run npm i after fetching template 2021-05-17 15:55:23 +02:00
Piotr Grzesik
e4ea50d401 feat(CLI Onboarding): Fetch templates from serverless/examples 2021-05-17 15:55:23 +02:00
Piotr Grzesik
7e8e1b62bb feat(CLI Onboarding): Dont allow setup with options in service dir 2021-05-14 14:17:19 +02:00
Piotr Grzesik
e63302bcb5 feat(CLI Onboarding): Skip "enable" question when options provided 2021-05-14 14:17:19 +02:00
Piotr Grzesik
53575dc360 feat(CLI Onboarding): Support --name CLI option 2021-05-14 14:17:19 +02:00
Piotr Grzesik
98c9700bcd feat(CLI Onboarding): Support template-path param 2021-05-14 14:17:19 +02:00
Mariusz Nowak
105807a674 refactor(CLI Onboarding): Integrate steps from dashboard plugin 2021-05-12 12:41:30 +02:00
Mariusz Nowak
a26a21ff3f test(CLI Onboarding): Remove bluebird dependency 2021-05-12 12:41:30 +02:00
Mariusz Nowak
7864f4d28d refactor(CLI Onboarding): Seclude from internal Framework logic 2021-05-12 12:41:30 +02:00
Mariusz Nowak
2672047c2f refactor: Resolve path to package in resolveLocalServerlessPath 2021-05-11 08:57:29 +02:00
Piotr Grzesik
2c2c77f905 fix(Telemetry): Do not report when commandSchema not resolved 2021-05-04 17:50:41 +02:00
Piotr Grzesik
5861d08768 feat(Telemetry): Report failures via telemetry 2021-04-30 11:54:29 +02:00
Mariusz Nowak
014ff949b7 fix(CLI): Recognize --aws-profile option by schema 2021-04-19 16:46:53 +02:00
Mariusz Nowak
088088c1d3 refactor(CLI): Validate service dependency in CLI context 2021-04-14 09:56:42 +02:00
Mariusz Nowak
03817c23fb refactor(CLI): Rename module to unify convention 2021-03-26 10:11:57 +01:00
Mariusz Nowak
053fea18e0 refactor(CLI): Move main help renderer out of internals 2021-03-26 10:11:57 +01:00
Mariusz Nowak
d9cf52b2c8 fix(CLI): Fix handling of container commands 2021-03-26 10:11:57 +01:00
Mariusz Nowak
afad2315a5 refactor(CLI): Move to CLI logic required options validation 2021-03-26 10:11:57 +01:00
Mariusz Nowak
aca3c0d57d refactor(CLI): Seclude command help render from internals 2021-03-26 10:11:57 +01:00
Mariusz Nowak
87b186113a refactor(CLI): Seclude general help render logic from internals 2021-03-26 10:11:57 +01:00
Mariusz Nowak
2fd921dbfc refactor(CLI): Seclude interactive setup help render out of internals 2021-03-26 10:11:57 +01:00
Mariusz Nowak
41e921aa6f refactor(CLI): Seclude command options render logic out of internals 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
3422a121d7 feat(Variables): Recognize CLI command plugin extensions in new resolver 2021-03-24 11:50:24 +01:00
Mariusz Nowak
9b86f93d64 test(CLI): Configure sanity tests for command schema data 2021-03-23 10:22:37 +01:00
Mariusz Nowak
13610cf0f0 refactor(Variables): Recognize only defined CLI options in resolver 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
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
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
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
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
92145a63c4
test(CLI): Improve tests 2021-02-16 20:58:15 +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
Juanjo Diaz
006557d847
refactor: Use standalone ServerlessError. (#8897) 2021-02-09 09:20:55 +01:00
Sudipto Das
f5174ffa80
refactor: Replace fse.promises.realpath with fs.promises.realpath 2021-01-29 17:13:36 +01:00