CLI Reference
This page documents the stable v2.2.1 CLI baseline. Mutablemain may contain later development or docs-only changes, so field procedures should continue to use the immutable v2.2.1 release contract.
Grammar
server ... / client ... top-level namespace.
Interactive keys
drlink history is not written to disk.
Client selector
The canonical selector is CLIENT ID: immutable short machine identity. Changing label, note, tags, or hostname never changes CLIENT ID.show clientsprints CLIENT ID first.- Tab completes CLIENT ID.
- A unique label/hostname can be typed manually.
- Ambiguous selectors fail closed.
user@host:portis not a client selector.
Show
status and version remain compatibility shortcuts for the show form.
Set
Server:apply.
Unset
unset removes metadata; it does not release public ports or change identity.
Create / add
create zero-touch is the recommended everyday onboarding path.
Enable / disable / apply / discard
apply does not release server ports.
Revoke / release / restore
delete client command.
Update
show upstream is informational.
Other
Stable enrollment states
show enrollments can represent enrollment records in normalized lifecycle states such as:
show, Tab, or help output.
Stable v2.2.1 includes the qualified enrollment lifecycle controls and bootstrap-hostname / Short URL support documented here. Mutable
main may contain later changes; use the immutable v2.2.1 contract for field procedures.