111 Commits

Author SHA1 Message Date
Mariusz Nowak
cf1d51dbb9 refactor(CLI): Cleanup components resolution logic 2020-07-22 09:39:35 +02:00
Mariusz Nowak
1f7534c4d8 fix(CLI): Ensure --version is only top level command option 2020-07-16 10:24:32 +02:00
Mariusz Nowak
79b4718dec fix(CLI): Communicate access to Components CLI 2020-07-15 15:31:10 +02:00
Mariusz Nowak
3ffa549183 fix(CLI): Ensure to show help and version in context of invalid service 2020-07-10 17:35:23 +02:00
Mariusz Nowak
b09d4255a7 style(CLI): Improvements 2020-07-10 17:35:23 +02:00
Mariusz Nowak
3dd915cd3f refactor(CLI): Improve help resolution documentation 2020-07-10 17:35:23 +02:00
Mariusz Nowak
ff0af1e6ac fix(CLI): Show interactive help unconditionally on --help-interactive 2020-07-10 17:35:23 +02:00
Mariusz Nowak
c042dd5144 fix(CLI): Show version info unconditionally on -v or --version 2020-07-10 17:35:23 +02:00
andreizet
7bbd04a693
refactor: Replace _.has with better counterparts (#7915) 2020-07-07 17:18:48 +02:00
Dai Van Nguyen
297f7d85e0
refactor: Replace _.reduce with array.reduce (#7883) 2020-06-26 12:32:07 +02:00
Dai Van Nguyen
4c33476210
refactor: Replace _.isEmpty with native counterparts (#7873) 2020-06-25 15:17:52 +02:00
Nguyễn Việt Đức
57e4212671
refactor: Replace _.sortBy with array.sort (#7823) 2020-06-18 14:36:45 +02:00
Nguyễn Việt Đức
a549517441
refactor: Replace _.repeat with string.repeat (#7842) 2020-06-16 09:38:40 +02:00
TATSUNO Yasuhiro
5e0af21313
refactor: Replace _.forEach and _.each with array.forEach (#7748) 2020-05-28 10:45:25 +02:00
Mariusz Nowak
7b0c18eded fix(Components): Handle gently initialization errors 2020-04-08 22:28:50 +12:00
Eslam λ Hefnawy
0ed52f61de
feat: Support Cloud Components (#7390) 2020-02-27 11:19:06 +13:00
Edmundo Rodrigues
0592a27dbc
feat: Support tweaking max concurrent artifcat uploads count (#7295) 2020-02-12 10:04:20 +13:00
Mariusz Nowak
ca4d046785 refactor(CLI): Unify argv to commands and options resolution 2019-12-29 18:56:10 +01:00
Mariusz Nowak
074647c502 fix(CLI): Fix ambiguity of '-v' option
It was supported as alias for both `--version` and `--verbose`
(when `--help` was passed).
Ensure it's only an alias for `--version`
2019-12-29 18:56:10 +01:00
Mariusz Nowak
59bea09dad feat: Recognise as standalone 2019-12-18 09:36:52 +01:00
Peter Indiola
4adc5cc197 Fix spelling and typos in docs, code variables and code comments 2019-11-20 23:28:56 +08:00
Daniel Schep
d11ff1e316
Allow --app & --org cli option in interactive CLI (#6697)
* Allow plugins to add flags that are allowed during interactive CLI

* simpler return, comment, & move setting sls.interactiveCli

* allow listof starter pr ojects to be customized

* docs!

* lint

* remove return and hide interacive cli "command"

* expose whole initializeService module like aws is

* update copy

* 🤦

* make it easier to update initalizeprojectChoices, avoiding ugly inplace updates

* bump sfe dep

* version bump

* Revert "version bump"

This reverts commit 4c9449136e00ce195b9c119f983845aec26c3693.
2019-10-23 15:52:27 -04:00
Mark Tse
e62ddadc9d chore - stop using deprecated 'new Buffer()' method. 2019-10-13 15:15:26 -04:00
Eslam A. Hefnawy
b5ef8bb9cd fixed tests and lints 2019-09-18 15:29:30 +03:00
Eslam A. Hefnawy
b79c9060ea remove version line escape 2019-09-18 15:10:17 +03:00
Eslam A. Hefnawy
792a5fb4b1 added components versions 2019-09-18 14:49:30 +03:00
astuyve
f3b73d1ad3
Newlines, instead of commas 2019-08-05 08:19:56 -05:00
astuyve
800f729bc1
Prettify 2019-08-05 08:14:02 -05:00
astuyve
ac6b740de9
Remove Enterprise and Platform from log info 2019-08-05 08:08:17 -05:00
Maciej Skierkowski
0d44aaca0a Use slss.io for links 2019-07-22 13:02:30 -04:00
Philipp Muens
084cee4538
Merge pull request #6345 from domcorvasce/master
Add SLS_NO_WARNINGS env var
2019-07-16 12:49:39 +02:00
Dom Corvasce
5500a07d12 Show available env vars in the help output 2019-07-11 11:41:26 +02:00
Daniel Schep
dafbf82056 prettier & dep bump 2019-07-08 16:20:07 -04:00
Daniel Schep
9559afbc39 Merge remote-tracking branch 'origin/master' into sfe-version-info 2019-07-08 12:10:17 -04:00
Daniel Schep
92bd3fd814 SFE plugin & sdk version info
in both `--version` and error output
2019-07-05 14:58:13 -04:00
Mariusz Nowak
4944f471b1
Prettify 2019-06-26 12:43:01 +02:00
Daniel Schep
94bf5a4382 delint 2019-06-10 11:19:14 -04:00
Daniel Schep
2b81303370 --config option.
closes #5589
closes #4485
closes #4473
closes #4124
closes #5822
2019-06-10 11:19:14 -04:00
Philipp Muens
a38063df64 Highlight skipping of deployments 2019-05-03 13:58:16 +02:00
Daniel Conde
cac310dcb9 update comment to reflect command type check 2019-02-09 15:26:09 +00:00
Daniel Conde
1a4ce917a7 add support for command type='container' 2019-02-09 14:59:13 +00:00
exoego
59c440e073 Make it clear that logs don't always get suppressed. 2019-01-23 14:33:53 +09:00
exoego
43e1fd105f Fix linting error. 2019-01-20 16:24:30 +09:00
exoego
c930079d5b Do not print logs if print command is used. 2019-01-20 16:10:02 +09:00
Austen Collins
121a2ffbf2
fix linting issue 2019-01-15 13:22:39 -08:00
Austen Collins
d4fc6d1980
add entity to enable plugins to personalize their cli logs 2019-01-14 21:28:25 -08:00
Austen Collins
70e94c9640
remove platform commands from the help screen 2019-01-11 16:36:20 -08:00
Jerzy Kozera
efa6963242 Fix issues with PR #5631 causing base64 errors
- Some of values were not converted back from base64, which resulted in
  spurious errors with base64 strings.
  (This was caused by nested arrays, like commands, not being converted
   back, combined with the wrong assumption that commands always occur
   before options. It is not always true, as the added test case
   demonstrates.)
- Some other values were converted *from* base64, but they weren't
  base64 in the first place, which resulted in junk binary data.
  (This was due to the invalid assumption that only odd-numbered values
   need to be converted.)
2018-11-15 17:39:35 +01:00
Gerson Niño
2549145fd1 Adding code comments 2018-10-06 01:22:03 -05:00
Gerson Niño
d1e0fbd6f1 Adding unit test 2018-10-06 01:15:04 -05:00