Adding a new claudia command claudia generate with two additional options:
hello-world - run with claudia generate hello-world
Creates a hello-world.js file with a Lambda handler that responds with a simple Hello world response.
api - run with claudia generate api
Creates an api.js with Claudia API Builder exposing a GET /hello-world endpoint that
responds with hello world. Along with the api, a package.json file is also created.
Adding a new claudia command
claudia generate
with two additional options:hello-world
- run withclaudia generate hello-world
Creates ahello-world.js
file with a Lambda handler that responds with a simpleHello world
response.api
- run withclaudia generate api
Creates anapi.js
with Claudia API Builder exposing a GET/hello-world
endpoint that responds withhello world
. Along with the api, apackage.json
file is also created.Tests are included.