51 Commits

Author SHA1 Message Date
Mariusz Nowak
0f21362091 feat(Console): In uneven scenario let user decide where to log-in 2022-05-19 16:15:12 +02:00
Mariusz Nowak
d40866a0e8 feat(Console): Switch to new Identity system 2022-05-19 16:15:12 +02:00
Mariusz Nowak
5004fb1ea0 fix(CLI): Fix options validations for custom providers 2022-05-16 21:10:15 +02:00
Mariusz Nowak
734d2e800f refactor(CLI): Reuse variable 2022-05-16 21:10:15 +02:00
Mariusz Nowak
23a5ea3a3a refactor(Console): Document --console with a link to documentation 2022-04-08 18:04:19 +02:00
Piotr Grzesik
dd421cc8a6
fix(CLI): Ensure proper resolution of options for service commands (#10846) 2022-03-14 15:50:21 +01:00
Piotr Grzesik
21c783dc16 refactor: Recognize logout as service-aware command 2022-03-02 14:58:05 +01:00
Piotr Grzesik
a34d07a5c1 feat(CLI Onboarding): Support --console flag 2022-03-01 18:58:37 +01:00
Piotr Grzesik
4ce10883b5 refactor(Console): Support login with Console 2022-03-01 13:48:02 +01:00
Piotr Grzesik
964b883455 feat(Variables): Support for --param CLI options 2022-02-17 14:07:30 +01:00
Mariusz Nowak
2cf86e4ee9 refactor: Rename lib/utils/logDeprecation.js 2022-01-27 15:21:58 +01:00
Mariusz Nowak
aed6673d68 refactor: Rename lib/utils/isStandaloneExecutable.js 2022-01-27 15:21:58 +01:00
Mariusz Nowak
3df6d15664 feat: Expose sls doctor command 2022-01-27 15:21:58 +01:00
Mariusz Nowak
b4a25d70d3 feat: Remove tab autocomplete feature
Reasoning:
- Performance is very poor due to slow command startup time
- `tabtab` package is no longer maintained and shares security issues
- Feature usage is relatively low (telemetry data shows 7% of users has the autocompletion on)

BREAKING CHANGE:
Opt-in tab-tab autocompletion feature is removed due to performance and security issues
2022-01-27 15:21:58 +01:00
Mariusz Nowak
a196e0403e feat(CLI): Deprecate missing options schema 2022-01-27 15:21:58 +01:00
Mariusz Nowak
b5069ef8cb feat(CLI): Deprecate support for deploy -f alias 2022-01-27 15:21:58 +01:00
Mariusz Nowak
2746b854bb refactor: Remove evaluation of deprecated lifecycle events
BREAKING CHANGE:
Lifecycle events marked as deprecated (in context of v1) are no longer evaluated
2022-01-27 15:21:58 +01:00
Mariusz Nowak
bd6fd4fc3d feat(CLI): Register -v as global --version alias 2022-01-27 15:21:58 +01:00
Mariusz Nowak
dc0bf5c9aa feat(CLI): Global --debug flag for debug logging 2022-01-27 15:21:58 +01:00
Mariusz Nowak
5194030462 feat(CLI): Global --verbose flag for verbose logging 2022-01-27 15:21:58 +01:00
Piotr Grzesik
9912939432 feat: Remove studio command schema
BREAKING CHANGE: Remove `studio` command schema
2022-01-27 15:21:58 +01:00
Piotr Grzesik
b5e6857c83 feat(CLI): Remove -v alias for --verbose flag
BREAKING CHANGE: The `--verbose` CLI flag does no longer support `-v` alias
2022-01-27 15:21:58 +01:00
Piotr Grzesik
afd0a5bd6f feat: Introduce enforce-hash-update flag to help hashing migration 2021-11-09 13:24:15 +01:00
Sebastian Bille
254e70cd0a
fix(CLI): Fix help command usage information (#10175) 2021-10-29 11:41:03 +02:00
Mariusz Nowak
452e234306 refactor(CLI): doctor command for modern handling of deprecations 2021-10-20 10:40:54 +02:00
Piotr Grzesik
4da0899673 refactor(CLI): Replace warnings with modern counterparts 2021-10-15 11:09:35 +02:00
Piotr Grzesik
d43298d25b refactor(CLI): Adapt logWarning to modern logs 2021-10-11 16:40:56 +02:00
Mariusz Nowak
5b38232e63 feat(CLI): Remove missing CLI options schema deprecation
Instead signal inconsistency with a warning
2021-09-24 15:54:26 +02:00
Mariusz Nowak
b2df3cc0c8 feat(CLI): Modern help output 2021-09-23 16:34:12 +02:00
Mariusz Nowak
634b59e396 refactor: Revert from mainProgressTitles handling
It appeared as not reliable, due to lack of means for any conditional handling of progress events
2021-09-21 17:39:44 +02:00
Mariusz Nowak
9e308bdf04 refactor: Configure main progress titles through command schema 2021-09-20 15:41:01 +02:00
Mariusz Nowak
be16ed57b1 refactor: Mark deprected lifecycle events for removal 2021-09-20 15:41:01 +02:00
Piotr Grzesik
9a8e7e44b4 fix(CLI): Mark dashboard command with optional service dependency 2021-08-23 17:59:21 +02:00
Mariusz Nowak
b1241522ec fix(CLI): Recognize --verbose option in info command 2021-07-05 22:09:12 +02:00
Jaakko Lappalainen
d861d119ef
refactor(AWS Deploy): Deprecate function option in deploy command
Co-authored-by: Piotr Grzesik <pj.grzesik@gmail.com>
2021-06-29 14:37:37 +02:00
Piotr Grzesik
f1a288ce2c feat(CLI Onboarding): Support template and template-url options 2021-05-19 14:58: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
014ff949b7 fix(CLI): Recognize --aws-profile option by schema 2021-04-19 16:46:53 +02:00
Mariusz Nowak
2011649537 refactor: Remove injustified "eslint-disable" comments 2021-04-02 15:05:03 +02:00
Mariusz Nowak
959da67a5e feat(Plugins): Announce "type" requirement in CLI option definitions 2021-04-02 13:04:48 +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
87b186113a refactor(CLI): Seclude general help render logic from internals 2021-03-26 10:11:57 +01:00
Mariusz Nowak
64684f2ed5 fix(CLI): Ensure to copy and not modify preset schemas
While modyfing should not be problematic for regular usage, it introduces unexpected states to tests which test multiple runs in same process run
2021-03-26 10:11:57 +01:00
Mariusz Nowak
ae645e7e8e fix(CLI): Fix generate-event and test commands schema visibility 2021-03-26 10:11:57 +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
57543a9c64 refactor(CLI): Put least significant options to end of index 2021-03-24 11:50:24 +01:00
Mariusz Nowak
2294a4b4cb refactor(CLI): Move lifecycles definition to commands schema
It's needed to be able to process commands as introduced by plugins without a need of processing Serverless instance
2021-03-24 11:50:24 +01:00
Mariusz Nowak
031ca4dd2a fix(CLI): Ensure all expected command schemas in collections 2021-03-23 10:22:37 +01:00
Mariusz Nowak
6a8ea90518 fix(CLI): Fix reference to AWS service options 2021-03-23 10:22:37 +01:00