Skip to content

🔧 Command-line tool to create a new L³ application.

License

Notifications You must be signed in to change notification settings

lambda-lambda-lambda/cli

Repository files navigation

L³ CLI

npm version

Command-line tool to create a new application.

Dependencies

Installation

Install the command-line utility using NPM.

$ npm install -g @lambda-lambda-lambda/cli

Usage

Usage: lambda-lambda-lambda [options]

Options:
--name <value>          Application name (Example: restfulApiHandler)
--description <value>   Description
--prefix <path>         Request prefix (Example: /api) (default: "/")
--timeout <number>      Function timeout (in seconds) (default: "15")
--sdk-version <number>  AWS SDK for JavaScript version (default: "2")
--asynchronous          Use asynchronous handler? (default: false)
-h, --help              display help for command

Developers

CLI options

Compile JavaScript sources from TypeScript to a distribution:

$ npm run compile

Compile and listen for changes (development mode):

$ npm run watch

Run ESLint on project sources:

$ npm run lint

Run Mocha integration tests:

$ npm run test

Contributions

If you fix a bug, or have a code you want to contribute, please send a pull-request with your changes. (Note: Before committing your code please ensure that you are following the TypeScript style guide)

Versioning

This package is maintained under the Semantic Versioning guidelines.

License and Warranty

This package is distributed in the hope that it will be useful, but without any warranty; without even the implied warranty of merchantability or fitness for a particular purpose.

lambda-lambda-lambda/cli is provided under the terms of the MIT license

Author

Marc S. Brooks