nxthdr-0.6.0 is not a library.
CLI
Command-line interface for the nxthdr platform — the peering (PeerLab) and probing (Saimiris) services.
Installation
Shell completions
Generate a completion script with nxthdr completions <shell> and install it where your shell looks for completions:
# fish
# zsh — ensure the target dir is on $fpath, then restart the shell
# bash
Supported shells: bash, zsh, fish, elvish, powershell.
Command structure
Commands follow a consistent nxthdr <group> <resource> <verb> shape:
nxthdr
├─ auth login · logout · status
├─ peering
│ ├─ asn get
│ ├─ prefix list · request <hours> · revoke <prefix> · rpki {enable,disable} <prefix>
│ ├─ route list · lookup <prefix>
│ └─ peerlab env
├─ probing
│ ├─ agent list
│ ├─ credits get
│ ├─ measurement send <file> · list · get <id> · cancel <id>
│ └─ reply list --src-ip <ip>
└─ completions <shell> # bash · zsh · fish · elvish · powershell
Run nxthdr help or nxthdr <group> <resource> --help for any command's options.
Authentication
Output formats
Every command takes a global -o / --output flag — text (default), json, or csv — for piping and scripting:
Examples
# Peering: request a 12h /48 lease, then generate a PeerLab .env
# Probing: send probes, check progress, fetch replies
|
Documentation
Full CLI reference: https://docs.nxthdr.dev/docs/tools/cli/