v0.1.0
Added
-- login / logout / whoami commands using OAuth2 device authorization flow with persistent token storage
- Server commands:
list,get,update(hostname, nickname, autostart, UEFI),power - Snapshot commands:
list,get,create,delete,revert,export,dryrun - Disk commands:
list,get,format,set-driver,supported-drivers - Interface commands:
create-vlan,update,delete - ISO commands:
attached,list,attach,detach - Rescue system commands:
status,enable,disable - Firewall commands: policy
list/get/create/update/deleteand interfaceget/save/reapply/restore-copied - Failover IP routing with
routecommand; supports routing multiple IPs to a single destination in one invocation - rDNS management:
setanddeletefor IPv4 and IPv6 addresses - Server name resolution: all commands accept either a numeric server ID or the server name as shown in the netcup UI (e.g.
v2202508149564377314) --jsonflag for machine-readable output on all commands--yes/-yflag to skip confirmation prompts on destructive operations--timeoutflag for configuring API request timeout--configflag for specifying a custom config file path- Apache 2.0 license
ncserverbinary: a server-local CLI with a reduced command set scoped to the server it runs onncserver identify: detects the server by querying the SCP API for each local IP address; result is cached in the config file; accepts--server-idfor manual overridencservercommands:status,failover list,failover route,rescue status/enable/disable,snapshots list/create,rdns get/set/delete,tasks waitserver_idfield in the config file, written byncserver identify- GitHub Actions CI workflow running
go vetandgo teston push and pull requests