<div align='center'>
npm install @saws/cliCLI for interacting with your SAWS application.
From the command line run:
``bash`
npm install @saws/cli
Then run npx saws init to initialize your SAWS application in your current directory.
These commands are the base commands that come with the saws cli. But other services in your saws.js can add additional commands to the saws cli. For example: secrets command.
`bash`
npx saws init
This command will initialize a SAWS application in your current working directory.
It will
- Install any needed dependencies
- Create a .gitignoretsconfig.json
- Create a saws.js
- Create your config file
`bash`
npx saws dev
This command will intitialize any new services in your saws.js file and stand up a local development environment for your application.
`bash`
npx saws deploy --stage
This command will deploy all the services in your saws.js file to AWS. You will need to have your AWS session configured in your terminal for this command to succeed.
`bash
npx saws execute ./path/to/script.ts --stage
`stage
This command will execute a script against your application. by default will be local. If your script depends on services being running locally, you will need to run them using npx saws dev` in another terminal tab/window.