net-mesh-cli
net-mesh — the unified command-line interface for the NET mesh.
The non-interactive counterpart to net-deck: a one-shot tool for operator scripts, CI pipelines, daemon authoring, and ad-hoc cluster inspection. Same SDK underneath, same signed admin chain, no TUI.
Install
# pip
pip install net-mesh-cli
# uv
uv tool install net-mesh-cli
The wheel bundles the Rust net-mesh binary directly (built with maturin's bindings = "bin" mode) — pip install / uv tool install puts it on your $PATH with no compilation step and no Python shim layer.
Wheels are published for linux (glibc + musl, x86_64 + aarch64), macOS (x86_64 + aarch64), and Windows (x86_64 + aarch64). A source distribution is also published for any platform pip can't find a wheel for — that path needs a Rust toolchain.
Run
net-mesh --help
Subcommand surface
| Subcommand | What it does |
|---|---|
version |
SDK version + build metadata. |
identity |
Generate / inspect / fingerprint operator identity files. |
admin |
Signed admin-chain commits — drain, cordon, maintenance, drop-replicas, etc. |
ice |
Break-glass ICE — simulate then commit force-drain / evict / restart / cutover. |
snapshot |
One-shot MeshOsSnapshot reads (and --watch for streaming). |
audit |
Read-only queries against the RedEX-committed audit ledger. |
log tail |
Substrate log stream (--follow, --daemon, --level). |
failures tail |
Substrate failure stream — same shape as log tail. |
cap |
Capability advertisement + discovery. |
peer |
Peer + NAT-traversal helpers. |
daemon |
Per-daemon listing from the local snapshot. |
netdb |
NetDB local KV adapter — Cortex-backed tasks + memories. |
subnet |
Hierarchical subnet inspection (show, ls, tree). |
gateway |
SubnetGateway stats + export-table operator surface. |
channel |
ChannelConfigRegistry inspection (visibility, ls). |
aggregator |
AggregatorDaemon inspection + remote query. |
completion |
Emit a shell-completion script (bash / zsh / fish / powershell). |
man |
Emit the troff(1) man page on stdout. |
Global flags
Applied to every subcommand; environment-variable fallbacks in brackets:
--config <path>[NET_MESH_CONFIG]— profile file (default$XDG_CONFIG_HOME/net-mesh/config.toml).--profile <name>[NET_MESH_PROFILE]— named profile within the config file.--output (json|yaml|ndjson|table|text)— auto-detectstable/texton TTY andjson/ndjsonoff-TTY.--quiet/-q— suppress stderr diagnostics.--verbose/-v—-vinfo,-vvdebug,-vvvtrace.NET_MESH_LOG=env-filter overrides.--no-color[NO_COLOR]— disable ANSI in table / text output.--timeout <dur>— global per-call timeout (e.g.500ms,1h30m). Default30s.
Config + identity
The profile file is optional — every flag has a sensible default. When present, it lives at $XDG_CONFIG_HOME/net-mesh/config.toml (or the platform equivalent) and looks like:
[default]
identity = "~/.config/net-mesh/identity.toml"
endpoint = "in-process"
default_timeout_ms = 30000
[profiles.prod]
identity = "~/.config/net-mesh/ops-identity.toml"
node_addr = "10.0.0.4:7700"
node_pubkey = "abcd…" # 64 hex
psk_hex = "1234…" # 64 hex
Operator identity files are authored by net-mesh identity generate — ed25519 seed + public key + SHA-256 fingerprint, the same format the deck loads from the maintenance node. Every signed admin / ice command picks the identity up from the active profile (or --identity).
Exit codes
Typed via ExitCodeKind. Scripts can match on the discriminator:
0— success2— usage / parse error3— config / identity load failure4— substrate refused the action (auth, ICE threshold, etc.)5— timeout6— transport error
License
Apache-2.0.
Metadata
Release files for net-mesh-cli 0.33.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| net_mesh_cli-0.33.0.tar.gz | 8.0 MB | Details |
Built distributions (wheels)
| File | Reset | |||
|---|---|---|---|---|
| net_mesh_cli-0.33.0-py3-none-win_arm64.whl | Python 3 | none | Windows ARM64 | Details |
| net_mesh_cli-0.33.0-py3-none-win_amd64.whl | Python 3 | none | Windows x86-64 | Details |
| net_mesh_cli-0.33.0-py3-none-musllinux_1_2_x86_64.whl | Python 3 | none | Linux musl 1.2+ x86-64 | Details |
| net_mesh_cli-0.33.0-py3-none-musllinux_1_2_aarch64.whl | Python 3 | none | Linux musl 1.2+ ARM64 | Details |
| net_mesh_cli-0.33.0-py3-none-manylinux_2_28_x86_64.whl | Python 3 | none | Linux glibc 2.28+ x86-64 | Details |
| net_mesh_cli-0.33.0-py3-none-manylinux_2_28_aarch64.whl | Python 3 | none | Linux glibc 2.28+ ARM64 | Details |
| net_mesh_cli-0.33.0-py3-none-macosx_11_0_arm64.whl | Python 3 | none | macOS 11.0+ ARM64 | Details |
| net_mesh_cli-0.33.0-py3-none-macosx_10_12_x86_64.whl | Python 3 | none | macOS 10.12+ x86-64 | Details |
Total release size: 36.5 MB
Release files / net_mesh_cli-0.33.0.tar.gz
| Download URL | net_mesh_cli-0.33.0.tar.gz |
|---|---|
| Size | 8.0 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f17cf787658b378af07eb3dac426b6eac9206f5af65114c47ebf7258592eb914
|
|
BLAKE2b-256 checksum How to use checksums |
df0428565b43ec0da92b4b34f7174e715bcce195a7dc9870a76e8162ac477cfd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Release files / net_mesh_cli-0.33.0-py3-none-win_arm64.whl
| Download URL | net_mesh_cli-0.33.0-py3-none-win_arm64.whl |
|---|---|
| Size | 3.3 MB |
| Tags | Python 3 Windows ARM64 |
|
SHA-256 checksum How to use checksums |
a1f25195ed061a8fb186d28dc1a13bc57380ca1d1d6a4724a12b0f6ee6c0985a
|
|
BLAKE2b-256 checksum How to use checksums |
4945dde0c110db49fd9a1d3ed3d01e4a5371546b75d71a46f2d938d9d7e029b0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Release files / net_mesh_cli-0.33.0-py3-none-win_amd64.whl
| Download URL | net_mesh_cli-0.33.0-py3-none-win_amd64.whl |
|---|---|
| Size | 3.6 MB |
| Tags | Python 3 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
9b12b92ed0fc8b2e2bf437e647f6e43bb77170486b219e8c0029713d89f9285b
|
|
BLAKE2b-256 checksum How to use checksums |
8fd1058818cab41b1aea9ea26641569f1066654470bfeb6ab2dd1e2a826e75a1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Release files / net_mesh_cli-0.33.0-py3-none-musllinux_1_2_x86_64.whl
| Download URL | net_mesh_cli-0.33.0-py3-none-musllinux_1_2_x86_64.whl |
|---|---|
| Size | 3.8 MB |
| Tags | Linux musl 1.2+ x86-64 Python 3 |
|
SHA-256 checksum How to use checksums |
77789d037d30ccadd44272c2f5d8ef55b15185bb990daee7ed4e807b1016f3be
|
|
BLAKE2b-256 checksum How to use checksums |
e6cffd1dfd1da56c73bd00ab11b0abea3177fc60108a3f0d38acbe6ab6dce4bf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Release files / net_mesh_cli-0.33.0-py3-none-musllinux_1_2_aarch64.whl
| Download URL | net_mesh_cli-0.33.0-py3-none-musllinux_1_2_aarch64.whl |
|---|---|
| Size | 3.6 MB |
| Tags | Linux musl 1.2+ ARM64 Python 3 |
|
SHA-256 checksum How to use checksums |
aa12f8cda89d7a2284031b3f26d53d0e231c34dc8e24fe03c09d5c1ad34ed8bf
|
|
BLAKE2b-256 checksum How to use checksums |
393f2f5fffd389932b64ccb07ec959de82c516bb326d1caadff569a3f0030b64
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Release files / net_mesh_cli-0.33.0-py3-none-manylinux_2_28_x86_64.whl
| Download URL | net_mesh_cli-0.33.0-py3-none-manylinux_2_28_x86_64.whl |
|---|---|
| Size | 3.8 MB |
| Tags | Linux glibc 2.28+ x86-64 Python 3 |
|
SHA-256 checksum How to use checksums |
6ab09552b933d848492842c47c15586e19ffdc816687cfa4f8efa4aa6b96f198
|
|
BLAKE2b-256 checksum How to use checksums |
1627a7a26948bb850928ec50e0beddb9639e3349790bfc7b2f7f198915ae6d96
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Release files / net_mesh_cli-0.33.0-py3-none-manylinux_2_28_aarch64.whl
| Download URL | net_mesh_cli-0.33.0-py3-none-manylinux_2_28_aarch64.whl |
|---|---|
| Size | 3.5 MB |
| Tags | Linux glibc 2.28+ ARM64 Python 3 |
|
SHA-256 checksum How to use checksums |
bc36015eecbb60a4f04e7f1163a93df20a8c7d7c2c94ba442567f10529e64341
|
|
BLAKE2b-256 checksum How to use checksums |
be23be187e11250756075835d2373c5123e408b4c837e645f7405adc835fdfee
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Release files / net_mesh_cli-0.33.0-py3-none-macosx_11_0_arm64.whl
| Download URL | net_mesh_cli-0.33.0-py3-none-macosx_11_0_arm64.whl |
|---|---|
| Size | 3.3 MB |
| Tags | Python 3 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
d304f6b023b37052f217781e14547eff7e78e5885eab9b677724fc3a3ca494ca
|
|
BLAKE2b-256 checksum How to use checksums |
4c41fb7106f88cdf4f0639dff764859ffc9edb670dff9c0d50ac6fc89f707c07
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Release files / net_mesh_cli-0.33.0-py3-none-macosx_10_12_x86_64.whl
| Download URL | net_mesh_cli-0.33.0-py3-none-macosx_10_12_x86_64.whl |
|---|---|
| Size | 3.7 MB |
| Tags | Python 3 macOS 10.12+ x86-64 |
|
SHA-256 checksum How to use checksums |
9b0087857b52416cb127225a99f7ee3638972a581e7ffe81deb7cc8d162c3096
|
|
BLAKE2b-256 checksum How to use checksums |
f3665330a63806d00aefa99b71d6c614491cd4a4688a16283da8aaa9edc06391
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|