sam-util
This utility allows for simpler, quicker creation of AWS SAM CLI templates by running a pretty CLI (powered by inquirer, yargs, shelljs and chalk!). Some options to assist with the installation of AWS SAM CLI requirements are provided, along with a full initialisation script to help create your first "hello-world" SAM Lambda.
If you prefer to use the SAM CLI directly, you can do so at any time. Refer to the official SAM CLI docs:
Commands
For help, run the following:
sutility --help
To install SAM CLI, run the following:
sutility setup
To initialise a SAM CLI Template, run the following:
sutility init
WARNING: I have not sanitised the shelljs input
It would be a good idea to implement this yourself before uploading to a remote host/executing it outside your local environment (further info on arbitrary execution).