Skip to content

claranet-it/brickly-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

Brickly Reports Cli

A CLI tool for generating reports.

Setup

  1. Clone this repository to your local machine.
git clone git@github.com:claranet-it/brickly-cli.git
  1. Navigate into the project directory.
cd brickly-cli
  1. Link the package globally using npm.
npm link
  1. You should now have the brickly command available globally.

Authentication

This tool requires an environment variable for authentication: BRICKLY_TOKEN: Obtain this token from Brickly, which can be found in localStorage['auth_token'] in your browser.

Setting the Environment Variable

You can set the BRICKLY_TOKEN environment variable in several ways:

Temporarily for the current terminal session:

export BRICKLY_TOKEN='your-token'

Permanently for all terminal sessions:

Add the export command to your ~/.zshrc or ~/.bashrc file:

echo "export BRICKLY_TOKEN='your-token'" >> ~/.zshrc

After editing ~/.zshrc or ~/.bashrc, reload the file to apply the changes:

source ~/.zshrc  # For zsh users
source ~/.bashrc  # For bash users

Releases

No releases published

Packages

No packages published