Skip to content

kusaridev/kusari-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

55 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Command line interface for Kusari

Resources

License

Security policy

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages