90 Commits

Author SHA1 Message Date
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
Gerson Niño
74a27d13ac Adding support to node4 and fix naming 2018-10-06 00:42:43 -05:00
Gerson Niño
9a0f5763cf Workaround to avoid convert string to numbers with minimist 2018-09-28 10:06:13 -05:00
horike37
4a3e140dc2 update code to synchronous 2017-12-19 01:10:43 +09:00
horike37
fbce5ed4ae add suggestion feature 2017-12-17 15:13:20 +09:00
horike37
0cf7c9a329 first commit 2017-12-16 20:27:33 +09:00
Rafal Wilinski
6d893aee90 Fix typo 2017-09-13 16:53:04 +02:00
Rafal Wilinski
bc86be2252 Add --no-color flag notice 2017-09-13 16:48:23 +02:00
Eslam A. Hefnawy
e176dc8e5d run without functions and lock versions 2017-08-15 15:52:24 +07:00
Brian Neisler
91d746d167 Add separation between platform and framework commands 2017-08-14 17:24:49 -07:00
Philipp Muens
a76ae91488 Merge pull request #3825 from darkowlzz/3784-help-plugin-sort
Display plugin commands alphabetically under help
2017-06-26 12:34:01 +02:00
Philipp Muens
29f06670ad Lowercase comment 2017-06-26 12:21:24 +02:00
Philipp Muens
da91ba8e83 Re-arrange order for help text
To reduce ambiguity.
2017-06-26 12:20:28 +02:00
Philipp Muens
909d7d5cc2 Add info about new --verbose option 2017-06-26 12:18:40 +02:00
Philipp Muens
a709c43274 Add sorting of commands 2017-06-26 12:14:58 +02:00
Philipp Muens
c982548514 Switch option from --plugin to --verbose 2017-06-26 12:02:37 +02:00
Philipp Muens
734e12e3d5 Switch from undefined to null 2017-06-26 09:44:33 +02:00
Philipp Muens
1d01525350 Update error message 2017-06-26 09:39:00 +02:00
Philipp Muens
c3f9c246ca Update error message to be contained in an array
This makes the code more readable.
2017-06-26 09:36:59 +02:00
Sunny
ccf5a59224 Improve entrypoint cmd removal algo
Use getCommands() to fetch all the commands with filtered entrypoint
commands and reduce to the required command. Throw error when a command
is not found.
2017-06-25 19:10:39 +05:30
Sunny
185af2e519 Remove entrypoint subcmds in generateCommandsHelp 2017-06-25 15:55:38 +05:30
Sunny
501aa5d5bc Avoid default function parameter 2017-06-21 19:27:15 +05:30