Skip to content
/ nctl Public

Interact with Nine API resources.

License

Notifications You must be signed in to change notification settings

ninech/nctl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

c19c15f · Sep 3, 2024
Aug 15, 2024
Aug 15, 2024
Jun 13, 2023
Aug 16, 2024
Aug 20, 2024
Jul 24, 2024
Jul 18, 2024
Aug 26, 2024
Jul 24, 2024
Jul 11, 2024
Jun 17, 2024
Aug 26, 2024
Apr 25, 2024
Sep 3, 2024
Mar 10, 2023
Aug 28, 2024
Sep 3, 2024
Sep 3, 2024
Sep 3, 2024
Jul 11, 2023

Repository files navigation

nctl

$ nctl --help
Usage: nctl <command>

Interact with Nine API resources. See https://docs.nineapis.ch for the full API docs.

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/ /" | sudo tee /etc/apt/sources.list.d/repo.nine.ch.list
sudo apt-get update
sudo apt-get 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

# Arch
# Install yay: https://github.com/Jguer/yay#binary
yay --version
yay -S nctl-bin

Getting started

  • login to the API using nctl auth login
  • run nctl --help to get a list of all available commands