nctl

command module
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Mar 23, 2023 License: Apache-2.0 Imports: 13 Imported by: 0

README

nctl

$ nctl --help
Usage: nctl <command>

Interact with Nine API resources.

Run "nctl <command> --help" for more information on a command.

Setup

# If you have go already installed
go install github.com/ninech/nctl@latest

# Homebrew
brew install ninech/taps/nctl

# Debian/Ubuntu
echo "deb [trusted=yes] https://repo.nine.ch/deb/ /" > /etc/apt/sources.list.d/repo.nine.ch.list
apt install nctl

# Fedora/RHEL
cat <<EOF > /etc/yum.repos.d/repo.nine.ch.repo
[repo.nine.ch]
name=Nine Repo
baseurl=https://repo.nine.ch/yum/
enabled=1
gpgcheck=0
EOF
dnf install nctl

Getting started

  • login to the API using nctl auth login <cockpit account name>
  • run nctl --help to get a list of all available commands

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
api
login module

Jump to

Keyboard shortcuts

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