Package Exports
- servant-cli
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (servant-cli) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Servant Command Line Tool
Develop, test and upload Servant Commands onto AWS Lambda with a few simple commands.
npm install servant-cli -gCommands
Make sure you've done the set-up below and you are running these commands in your Servant Extension's root folder:
$ cd my_servant_extension####servant init Creates Servant Extension Boilerplate Files in the current directory.
$ servant init####servant command -n command_name -i command_id Creates a Servant Command and boilerplate files for that command. Specify the Command's name after the -n. Paste in the Command's name after the -i.
$ servant command -n example_command -i com_DJa109####servant run -c command_id Run the Command locally and seed it with the event.json data that is in its command folder. specify **
$ servant run -c example_command####servant deploy Deploys your entire Servant Extension to AWS Lambda as a single AWS Lambda Function. This includes zipping and uploading all of your Extension's files.
$ servant deploy