Setup

Configuring the Bevor CLI

Bevor CLI is scoped on a repository-basis. Configure it to a working directory. It'll create a .bevor folder in your working directory to store local configuration. Also, Bevor CLI creates a ~/.bevor global configuration folder.

While the CLI authenticates the user, most actions will require you to link a team and project to act on.

Steps

  1. bevor login will direct you to the bevor dashboard to authorize your account
  2. bevor whoami will let you see your authenticated user information
  3. bevor init in your working directory will initialize the Bevor CLI's configuration and allow you to link a team and project
  4. bevor context will show you your current team and project configuration (as well as code + analysis once configured)

help

Show root help text (alias for --help).

bevor help [OPTIONS]

login

Log in via browser.

Opens your default browser to authenticate with Bevor. Your credentials are stored locally and used for subsequent commands.

bevor login [OPTIONS]

logout

Remove stored credentials.

bevor logout [OPTIONS]

whoami

Show the currently authenticated user.

bevor whoami [OPTIONS]

Arguments:

--jsonboolean

JSON output

init

Link the current directory to a Bevor team and project.

Resets/creates the .bevor/config.json.

bevor init [OPTIONS]

context

Show team, project, code, and analysis from .bevor (and live labels where available).

bevor context [OPTIONS]

Arguments:

--jsonboolean

JSON output

On this page