guard-dog

command module
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jul 1, 2022 License: MIT Imports: 2 Imported by: 0

README

guard-dog

  ____ _   _   _    ____  ____    ____   ___   ____ 
 / ___| | | | / \  |  _ \|  _ \  |  _ \ / _ \ / ___|
| |  _| | | |/ _ \ | |_) | | | | | | | | | | | |  _ 
| |_| | |_| / ___ \|  _ <| |_| | | |_| | |_| | |_| |
 \____|\___/_/   \_|_| \_|____/  |____/ \___/ \____|                                                 

A TUI to manage users, roles, and permissions in Stardog.

Installation

homebrew
brew install noahgorstein/tap/guard-dog
Github releases

Download the relevant asset for your operating system from the latest Github release. Unpack it, then move the binary to somewhere accessible in your PATH, e.g. mv ./guard-dog /usr/local/bin.

Build from source

Clone this repo, build from source with cd guard-dog && go build, then move the binary to somewhere accessible in your PATH, e.g. mv ./guard-dog /usr/local/bin.

Usage

Run the app by running guard-dog in a terminal. See guard-dog --help and configuration section below for details.

Configuration

guard-dog can be configured in a yaml file at $HOME/.guard-dog.yaml.

Example yaml file:

# .guard-dog.yaml
username: "admin"
password: "admin"
server: "http://localhost:5820"

Alternatively, guard-dog can be configured via environment variables, or via command line args visible by running guard-dog --help.

Command line args take precedence over both the configuation file and environment variables. Environment variables take precedence over the configuration file.

Environment Variables
Environment Variable Description
GUARD_DOG_USERNAME username
GUARD_DOG_PASSWORD password
GUARD_DOG_SERVER Stardog server to connect to
Built With

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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