@corellium/corellium-cli
v1.3.8
Published
Corellium CLI Tool
Downloads
239
Readme
corellium-cli
Corellium CLI is a command line interface for Corellium's API. It allows you to manage your projects, devices and more from the command line. It is written in Node.js and uses the Corellium Client API.
Installation
npm install -g @corellium/corellium-cli
Usage
Development
- Clone the repo
- Ensure NPM has access to private package registery for dependencies
- Create a Personal Access Token with read_api scope in GitLab.
- Authenticate to the registry. (in ~/.npmrc):
npm config set -- //[FQDN HERE]/api/v4/packages/npm/:_authToken=[TOKEN HERE]
- Set the registry. (in ~/.npmrc):
npm config set @corellium:registry https://[FQDN HERE]/api/v4/packages/npm/
- Install dependencies:
npm ci
- Link with
npm link
Note: if you are running it locally create .env
file and put the following line there NODE_TLS_REJECT_UNAUTHORIZED=0
Publishing
To publish Corellium CLI to the official Corellium npm registry, create a tag with the format
v#.#.#
This creates a GitLab pipeline which runs npm publish with the appropriate permissions