Piotr Grzesik
|
07a5483bb6
|
refactor(CLI): Pass serverless instance to handle-error
|
2021-04-28 09:42:47 +02:00 |
|
Piotr Grzesik
|
11e7311032
|
refactor: Introduce is-using-local-installation util
|
2021-04-27 17:46:19 +02:00 |
|
Mariusz Nowak
|
014ff949b7
|
fix(CLI): Recognize --aws-profile option by schema
|
2021-04-19 16:46:53 +02:00 |
|
Mariusz Nowak
|
87d380275b
|
refactor: Replace config.servicePath with service.dir
|
2021-04-16 13:32:13 +02:00 |
|
Mariusz Nowak
|
088088c1d3
|
refactor(CLI): Validate service dependency in CLI context
|
2021-04-14 09:56:42 +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
|
7f788d29e5
|
refactor(CLI): Fix deprecation message typo
|
2021-03-31 13:18:03 +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
|
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
|
f1af86ab55
|
fix(CLI): Unconditionally crash on unrecognized command
As we cannot display any help for unrecognized command, obviously
|
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
|
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
|
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 |
|
Mariusz Nowak
|
13610cf0f0
|
refactor(Variables): Recognize only defined CLI options in resolver
|
2021-03-22 15:31:17 +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
|
471e34ddc3
|
refactor(CLI): Categorize CLI commands in schema
|
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
|
6cefe7a084
|
fix(CLI): Recognize "--version" option in commands help
|
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
|
271ac8281c
|
fix(CLI): Recognize "--stage" as provider agnostic option
As it's crucial to resolve .env which we consider a provider agnostic concept
|
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
|
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 |
|