Usage
Options
| Option | Type | Required | Default | Description | |
|---|---|---|---|---|---|
-o, --output | npmrc | json | npmrc | Format of the output. Options are: npmrc (default), which you can echo directly into your .npmrc file, or json | |
-w, --write | boolean | false | If specified, adds entry to an existing .npmrc file, default is ~/.npmrc. If the file already contains a Gable NPM entry, it will be updated. If not, a new entry will be added. | ||
-f, --file | text | ~/.npmrc | The .npmrc file to write to if —write flag is set. Default is ~/.npmrc. The file must exist, or an error will be thrown. | ||
--endpoint | text | Customer API endpoint for Gable, in the format https://api.company.gable.ai/. Can also be set with the GABLE_API_ENDPOINT environment variable. | |||
--api-key | text | API Key for Gable. Can also be set with the GABLE_API_KEY environment variable. |