52 Commits

Author SHA1 Message Date
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
Philipp Muens
c2fc2adead Refactor help displaying in CLI
Extract the help displaying from processInput to an own method.
2016-06-09 19:43:13 +02:00
Philipp Muens
85c603dbb0 Refactor CLI class usage
So that the loaded plugins are not passed into the constructor. This is a preparation
for the upcoming task to move the options to the plugins constructor rather than the hook
which is run.
2016-06-09 19:39:57 +02:00
Eslam A. Hefnawy
ad67c7d780 moved neatness console.log to CLI 2016-06-01 17:30:33 +02:00
Eslam A. Hefnawy
45dbe769ba finished all tests for awsResourcesDeploy plugin 2016-05-25 14:42:31 +02:00
Eslam A. Hefnawy
e51ed686b8 added tests for validate method 2016-05-24 23:56:26 +02:00
Philipp Muens
329fda0d7d Bring back spinner and log method 2016-05-24 14:58:19 +02:00
Philipp Muens
e5a5033db7 Add basic CLI help functionality 2016-05-24 14:58:19 +02:00
Philipp Muens
2bfc79e0e8 Rename arguments / args to options 2016-05-23 17:02:52 +02:00
Philipp Muens
c8639c678a Add argument support for CLI and plugins
Add the possibility to access arguments inside plugins (e.g. "--function function1" or "-f function").
Additionally the "lifeCycleEvent" property is renamed to "lifecycleEvent".
2016-05-23 15:17:22 +02:00
Philipp Muens
30ee6d1592 Add basic CLI integration
Additionally unit and integration tests for the CLI are added.
2016-05-20 16:28:17 +02:00
Philipp Muens
da11c08e79 Add additional test for Utils class 2016-05-11 16:37:40 +02:00
Eslam A. Hefnawy
136f6dbda3 basic refactoring for CLI 2016-05-11 14:07:52 +07:00