wdx version
Print the version of wdx and of the daemon.
wdx version [flags]With --node, the daemon is the other node’s: its release, and the version of the API it speaks, which the two nodes must agree on.
| Flag | Default | Description |
|---|---|---|
--node <name> |
run the command on the node of this name, another of your account, through a session |
Examples
Section titled “Examples”# Show the versions of wdx and of the daemonwdx version
# Of the desktop's daemonwdx version --node desktopOutput
Section titled “Output”The name, version, commit and API version of wdx and of the daemon, null when it does not answer. With --json: {“cli”: {“name”: …, “version”: …, “commit”: …, “api_version”: …}, “daemon”: {…}}
Errors
Section titled “Errors”| Code | Exit | When |
|---|---|---|
usage |
2 | the request, command line or a setting is invalid |
internal |
3 | an unexpected failure: database, filesystem or git |
With --node, also: code_not_set_up, code_wrong, connection_lost, daemon_unavailable, hub_unreachable, hub_version_unsupported, node_key_mismatch, node_not_found, node_offline, node_version_unsupported, not_logged_in, remote_access_off, remote_not_for_agents, route_not_allowed, session_closed, session_required, too_many_streams.