๐ป 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:
npm install -g @capawesome/cliThe Capawesome Cloud CLI can be invoked with the @capawesome/cli command.
npx @capawesome/cli <command> [options]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.
npx @capawesome/cli --helpRun the following commands to get started with development:
-
Clone the repository:
git clone https://github.com/capawesome-team/cli.git
-
Install dependencies:
npm install
-
Copy the
.capawesomerc.examplefile to.capawesomerc -
Run your first command:
npm start -- --help
Note: The
--is required to pass arguments to the script.
To test HTTP/HTTPS proxy functionality locally:
-
Start Squid proxy in a separate terminal:
docker run --rm --name squid-proxy -p 3128:3128 -v $(pwd)/squid.conf:/etc/squid/squid.conf:ro sameersbn/squid:latest -
Set proxy environment variables and run the CLI:
export https_proxy=http://localhost:3128 npm run build && node ./dist/index.js login
-
To see debug output:
DEBUG=https-proxy-agent node ./dist/index.js login
See CHANGELOG.
See LICENSE.