Arnaud Rebts
7dd58f0325
Implement service plugin loading
...
Resolves #1442
2016-07-12 11:16:27 +02:00
Philipp Muens
7ccdc82e09
Add provider awareness for plugins
2016-07-04 09:51:38 +01:00
Philipp Muens
267e6c58fb
Add shortcut support for options
2016-06-29 14:07:55 +02:00
Eslam A. Hefnawy
d7c50f3626
greeting is now generated on help only
2016-06-24 15:42:52 +02:00
Eslam A. Hefnawy
fdddd2e83c
added noGreeting option for invoke integration test to run
2016-06-23 15:55:57 +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
Eslam A. Hefnawy
ff0ed5a200
variable population now is aware of default stage and region
2016-06-20 18:36:55 +02:00
Eslam A. Hefnawy
4d9e236b7e
added global rejection handler
2016-06-09 19:43:13 +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
40f6dab03f
Move options passing to the plugins constructor
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
Philipp Muens
39d30b3ca0
Add automatic servicePath detection functionality
...
The service directory will be automatically detected if the users CWD is a valid
Serverless service directory.
2016-05-26 14:34:56 +02:00
Philipp Muens
e5a5033db7
Add basic CLI help functionality
2016-05-24 14:58:19 +02:00
Eslam A. Hefnawy
de86121170
refactor: removed instances keyword and replaces this.S to this.serverless
2016-05-24 11:33:36 +02:00
Eslam A. Hefnawy
d3d4c0ae53
merging dev into create
2016-05-23 21:49: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
Eslam A. Hefnawy
21daae8318
added create plugin
2016-05-23 00:30:56 +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
Eslam A. Hefnawy
9665c54e0d
cleaned the codebase and fixed tons of linting issues
2016-05-20 13:33:54 +02:00
Eslam A. Hefnawy
5f85c4f45b
some cleanup
2016-05-18 16:01:05 +02:00
Eslam A. Hefnawy
c7054784a2
basic service and config working
2016-05-17 17:53:27 +02:00
Eslam A. Hefnawy
0338119a46
further cleaning of new plugin system
2016-05-17 08:43:55 +02:00
Eslam A. Hefnawy
8f6364b250
basic new plugin system
2016-05-17 08:43:55 +02:00
Eslam A. Hefnawy
0025427d1a
basic refactoring of the plugin class
2016-05-11 12:57:41 +07:00
Egor Kislitsyn
08952ee36a
Adds node4.3 runtime
2016-04-06 17:40:56 +07:00
Eslam A. Hefnawy
da7cdd41b6
fixed provider init
2016-04-01 10:10:22 +07:00
Erik Erikson
cab7fcd83e
initialize providers *after* the environment has been loaded.
2016-03-29 15:07:22 -07:00
Egor Kislitsyn
7e303e78b5
Adds select menu for runtimes to FunctionCreate action
2016-03-21 18:20:07 +07:00
Frank Schmid
058ff86267
issue #836 - Switched error messages for context and command.
2016-03-20 12:49:10 +01:00
ac360
2e2250d719
Plugin template: refactor to work with v0.5 changes WIP
2016-03-18 02:43:46 -07:00
Austen Collins
72e28c4075
serverless: throw error if plugin is missing
2016-03-15 19:02:53 -07:00
Egor Kislitsyn
14b8c0a8ac
Actions: refactor
2016-03-15 20:37:15 +07:00
ac360
fdd35c7ce5
PluginTemplate: add more descirptions
2016-03-14 23:30:11 -07:00
ac360
a912a6e3b8
Serverless: remove dead property
2016-03-14 23:06:17 -07:00
ac360
425200e94e
Actions: refactor to accept Serverless instance
2016-03-14 22:51:36 -07:00
ac360
ae582d0d8e
Classes: refactor
2016-03-14 21:33:51 -07:00
Egor Kislitsyn
d0905b5682
Adds build method to the Runtime class
2016-03-09 20:31:03 +07:00
Eslam A. Hefnawy
005d8f9b48
removed components from classes
2016-03-08 21:26:04 +07:00
Austen Collins
c1c5f0ae35
Change utils/new.js back to utils/index.js
2016-03-01 18:23:12 -08:00
ac360
241f70ed37
Remove old utils
2016-03-01 16:02:28 -08:00
ac360
716d6a21fc
Test and Class fixes
2016-03-01 15:36:29 -08:00
ac360
4e57f0ff8b
Extend templates in toObjectPopulate() methods, Classes take config again, test fixes
2016-03-01 13:30:52 -08:00
Austen Collins
fc8f29f9be
tests: fix project tests further WIP, project: rename some methods to use getAll to keep convention
2016-02-26 12:33:54 -08:00
Eslam A. Hefnawy
731787f0c1
fixed and tested project life cycle actions
2016-02-26 01:47:22 +07:00
ac360
48758fac83
Serializer: remove config.filePath from assets
2016-02-23 16:22:22 -08:00
Eslam A. Hefnawy
67acc7026d
Running ProjectInit: Fixes
2016-02-23 18:48:12 +07:00
ac360
d27aa15f0c
ProjectInit: continue work WIP
2016-02-22 22:58:53 -08:00
ac360
7939980be6
ProjectInit: continue refactor
2016-02-22 20:04:39 -08:00