64 Commits

Author SHA1 Message Date
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
Sunny
1aca36020c Extract, sort and display plugin commands & test 2017-06-21 17:58:33 +05:30
Sunny
084e6669bc Format commands plugins help output with indents 2017-06-21 00:32:02 +05:30
Sunny
569bb6901c Add generateCommandsByPluginHelp() 2017-06-21 00:11:21 +05:30
Philipp Muens
67a989f51a Remove breaking change logging 2017-03-29 09:19:39 +02:00
davidwells
59c33a1f36 update deprication message 2017-03-16 14:45:11 -07:00
Eslam A. Hefnawy
c2e51a6eb3 releasing v1.9 2017-03-15 03:07:52 +08:00
Eslam A. Hefnawy
fb6b94d088 releasing v1.8 2017-03-01 03:25:28 +08:00
Eslam A. Hefnawy
ba7bb7e0de releasing v1.7 2017-02-14 20:53:41 +07:00
Philipp Muens
7044d567df Refactor for more convenience and add tests 2017-02-09 14:40:08 +01:00
Philipp Muens
69d872604c Add minor aesthetic improvements 2017-02-09 11:23:13 +01:00
Eslam A. Hefnawy
4ea752e05e added opt-out message 2017-02-09 17:12:15 +07:00
Eslam A. Hefnawy
2069ac5352 logging up coming breaking changes 2017-02-09 17:03:26 +07:00
Philipp Muens
b7ad1e7732 Fix the liniting error which occurred because of linter updates 2016-10-15 15:41:35 -07:00
Doug Moscrop
19f5bfb27f refactor PluginManager and CLI to better support command nesting 2016-09-28 11:34:50 -04:00
Doug Moscrop
5d4316db93 refactor CLI command/options to remove a few lines of code 2016-09-09 21:01:48 -04:00
Sander van de Graaf
107d08a384 sort plugins for display in help 2016-08-05 13:03:11 +02:00
Philipp Muens
d17b0c3df0 Print a . while loading 2016-08-04 16:21:59 +02:00
Benny
5750c38d1e fix 1479 after PR comments 2016-07-15 17:49:35 +03:00
Benny
806c133fec fix issue #1380 - remove ascii greeting from all serverless CLI commands except create 2016-07-15 16:26:26 +03:00
Philipp Muens
267e6c58fb Add shortcut support for options 2016-06-29 14:07:55 +02:00
Philipp Muens
e44ceb5183 Add better alignment / indentation for options 2016-06-28 14:54:27 +02:00
Philipp Muens
188713447f Add show required options in CLI functionality 2016-06-28 14:34:30 +02:00
Eslam A. Hefnawy
d7c50f3626 greeting is now generated on help only 2016-06-24 15:42:52 +02:00
Eslam A. Hefnawy
64a5248477 fixed help logs 2016-06-24 12:50:22 +02:00
Eslam A. Hefnawy
d2dc0ba58e ZERO linting issues and test coverage of 93% 🎉 🎉 2016-06-23 15:55:57 +02:00
Eslam A. Hefnawy
c16985a0d9 better ux for error handling 2016-06-23 15:55:57 +02:00