kusari-cli

module
v0.1.1-beta Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 21, 2025 License: MIT

README

Kusari CLI

Command line interface for Kusari.

Installation

  1. Have Go installed.

  2. go install github.com/kusaridev/kusari-cli/kusari@latest

Commands

kusari auth login

Logs into Kusari. Default parameters are good for most use cases. Access token is stored in $HOME/.kusari/tokens.json.

kusari repo scan

Scans a diff on a git repository using Kusari Inspector. This will scan a set of changes, so a "git diff" command is needed. Usage:

kusari repo scan <directory> <git-diff command>

Where <directory> is the directory of the git repository you wish to scan, and <git-diff command> is the command to pass to git diff to generate the set of changes. See Git documentation, for examples of commands.

Example:

kusari repo scan ~/git/guac HEAD^

Will scan my ~/git/guac repository with the git-diff command HEAD^ which compares my working tree with the commit before the most recent commit.

Kusari Inspector results will be stored and displayed in the Kusari Console.

Directories

Path Synopsis
cmd
pkg

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL