Skip to content
This repository was archived by the owner on Jun 11, 2024. It is now read-only.

Commit

Permalink
Add docs about env vars
Browse files Browse the repository at this point in the history
  • Loading branch information
Blake Watters committed May 28, 2020
1 parent 9c7fba1 commit 9196283
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,17 @@ Once initialized, you can work with the app using the subcommands of `opsani app

Help is available via `opsani --help`.

### Environment Variables

Opsani CLI respects a few key environment variables, when present:

| Variable | Description |
|----------|-------------|
| `OPSANI_APP` | Sets the app to interact with |
| `OPSANI_TOKEN` | Sets the API authentication token |
| `OPSANI_BASE_URL` | Sets the base URL for reaching Opsani API |
| `OPSANI_PROFILE` | Sets the profile to use (implies an app, token, and base URL) |

### Persistent & Ad-hoc Invocations

The Opsani CLI is designed to be a flexible utility that is useful in day to day
Expand Down

0 comments on commit 9196283

Please sign in to comment.