Skip to content

faststats-dev/CLI

Repository files navigation

@faststats/cli

Warning

This CLI is very experimental. Commands, flags, and behavior may change or break without notice.

The official FastStats CLI, built with Effect and OpenTUI.

Install

npm i -g @faststats/cli

This installs the faststats command globally.

Login

Authenticate with browser-based device authorization:

faststats login

Follow the printed URL to authorize the device. Once logged in you can check or clear your session:

faststats status   # show authentication status
faststats logout   # remove the stored access token

Commands

Dashboard

faststats dashboard            # browse project dashboards in an interactive TUI

Projects

faststats project list                 # list your projects
faststats project create                # create a project (interactive)
faststats project show <slug>            # show project details

Data sources

faststats project datasource list <slug>
faststats project datasource create <slug>        # interactive
faststats project datasource edit <slug> [datasource]
faststats project datasource remove <slug> [datasource]

Run any command with --help to see its flags and arguments.

Shell completions

Completions support bash, zsh, and fish, including dynamic project-slug completion.

faststats --completions bash   # print a completion script for the given shell

Add the output to your shell config, then reload your shell.

About

The official FastStats CLI, built with Effect and OpenTUI

Resources

License

Stars

0 stars

Watchers

0 watching

Forks

Packages

 
 
 

Contributors