CLI Reference
The Baseguard CLI (baseguard) provides command-line access to manage your connection. Use it to authenticate, connect, check status, and switch between organizations.
Quick start: Run
baseguard connectto join the network. If you haven't logged in before, it will automatically prompt you to authenticate.
Prerequisites
- Baseguard is installed
- The daemon is running
Commands
| Command | Description |
|---|---|
login |
Authenticate and register device |
logout |
Remove credentials and disconnect |
connect |
Connect to the network |
disconnect |
Disconnect from the network |
status |
View connected nodes and stats |
organizations |
List available organizations |
switch-organization |
Change active organization |
version |
Display version information |
Quick Reference
Connect to the network, logging in first if needed:
$ baseguard connectCheck the status:
$ baseguard statusList your organizations:
$ baseguard organizationsSwitch organization:
$ baseguard switch-organization <org-id>Disconnect:
$ baseguard disconnectLog out completely:
$ baseguard logoutShow the version:
$ baseguard versionSee Also
- Quick Start — Get connected in 2 minutes
- API Reference — Programmatic alternative to the CLI
- Troubleshooting — Common issues and solutions