CLI for Bigeye
Project description
Bigeye CLI
Version: 0.3.8
Install
Bigeye CLI is a pip installable package. Run the following:
pip3 install bigeye-cli
Credential
Run the following command to get logged into your Bigeye workspace from the CLI:
bigeye credential
There are two ways to authenticate: basic authentication and browser authentication.
Basic Authentication
If you select basic authentication, the CLI will prompt you to enter your Bigeye username and password. This will create a default credential file at ~/.bigeye/default_cred.json. This credential will be used for all CLI commands calls unless an environment variable is explicitly provided.
base_url: "https://app.bigeye.com",
user: "some_user+some_company@bigeye.com",
password: "fakepassword1234"
You can create an environment variable for your workspace credential file, this is helpful if you are managing multiple workspaces and need to flip between them. Add the following to your ~/.bashrc or ~/.zshrc file:
export BIGEYE_API_CRED_FILE=/some/path/to/bigeye_cred_file.json
Lastly, if you want to specify the credential per command, you can always pass a -b parameter with the file path for the desired credential.
Browser Authentication
Alternatively, you can use browser authentication. Login to your bigeye workspace on a Chrome, Chromium or Firefox browser. Run ‘bigeye credential’ and select browser_auth when prompted in the CLI and follow the instructions. If you use Chrome profiles, make sure to specify the profile email address you’re logged into.
Note: your authentication will only be valid so long as your browser session is active.
Basic Usage
$ bigeye --help
Tab/Auto Completion
Bigeye supports tab/auto completion for many different shells. For example, run:
$ bigeye --install-completion zsh
ZSH Completion
Verify that the following has been added to your shell rc file:
autoload -Uz compinit
zstyle :completion:* menu select
fpath+=~/.zfunc
If you are having trouble with auto complete then add the following below the 3 lines above.
compinit
CLI Documentation
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Hashes for bigeye_cli-0.3.8-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d24a9c31bfe1af4092aca8fbf152c74476285eb3f01a2641455c89e72d1b952d |
|
MD5 | b896c579875b9e639b10091577cba096 |
|
BLAKE2b-256 | b9797647b28f53e056c26fcbc00fff613b275aceac2238ce67dfe95d25bad068 |