The Capawesome Cloud Command Line Interface (CLI) to manage Live Updates and more.
npm install @capawesome/cli


š» The Capawesome Cloud Command Line Interface (CLI) can be used to manage Live Updates from the command line.
The Capawesome Cloud CLI can be installed globally via npm:
``bash`
npm install -g @capawesome/cli
The Capawesome Cloud CLI can be invoked with the @capawesome/cli command.
`bash`
npx @capawesome/cli
You can find a list of available commands in the Command Reference.
The Capawesome Cloud CLI ships with command documentation that is accessible with the --help flag.
`bash`
npx @capawesome/cli --help
Run the following commands to get started with development:
1. Clone the repository:
`bash`
git clone https://github.com/capawesome-team/cli.git
2. Install dependencies:
`bash`
npm install
3. Copy the .capawesomerc.example file to .capawesomerc
4. Run your first command:
`bash`
npm start -- --help
Note: The -- is required to pass arguments to the script.
To test HTTP/HTTPS proxy functionality locally:
1. Start Squid proxy in a separate terminal:
`bash`
docker run --rm --name squid-proxy -p 3128:3128 -v $(pwd)/squid.conf:/etc/squid/squid.conf:ro sameersbn/squid:latest
2. Set proxy environment variables and run the CLI:
`bash`
export https_proxy=http://localhost:3128
npm run build && node ./dist/index.js login
3. To see debug output:
`bash``
DEBUG=https-proxy-agent node ./dist/index.js login
See CHANGELOG.
See LICENSE.