@thg-altitude/cli

0.0.33 • Public • Published

Altitude CLI

Site management command line interface for THG Altitude platform

To use this CLI you will need a client_id and secret_key which can be obtained by visiting the site

Headless Usage

Set the following environment variables to Auth

ALTITUDE_CLIENT_ID
ALTITUDE_SECRET_KEY
yarn global add @thg-altitude/cli

altitude deploy --site thg.com --branch main --env environment-name

or

npx @thg-altitude/cli deploy --site thg.com --branch main --env environment-name

You can also deploy specific commits by declaring the github reference.

yarn global add @thg-altitude/cli

altitude deploy --site thg.com --ref {GITHUB_REF} --env environment-name

or

npx @thg-altitude/cli deploy --site thg.com --ref {GITHUB_REF} --env environment-name
yarn global add @thg-altitude/cli

altitude environment info --site thg.com --env environment-name

## Development

This project is built with TypeScript

Running the CLI in development mode

yarn dev


Building

yarn build


Readme

Keywords

none

Package Sidebar

Install

npm i @thg-altitude/cli

Weekly Downloads

214

Version

0.0.33

License

MIT

Unpacked Size

15.8 kB

Total Files

19

Last publish

Collaborators

  • sa-altitude