net-cli 0.27.0-beta.1

Unified `net-mesh` command-line tool for the Net mesh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
//! Common imports for command modules.
//!
//! Each `commands/<name>.rs` does `use crate::prelude::*;` to
//! avoid restating the SDK-type import block at the top of every
//! file. Keep this module a re-export curtain only — no actual
//! logic. The SDK exposure here is intentionally narrow: just
//! the types the read-only Phase 1 surface needs.

#[allow(unused_imports)]
pub(crate) use crate::error::{CliError, ExitCodeKind};
#[allow(unused_imports)]
pub(crate) use crate::output::{emit_stream_row, emit_value, OutputFormat};

/// Default `--node` value for subcommands that talk to the
/// in-process supervisor. Centralised so a future protocol bump
/// (or a `--node` rename) doesn't need to touch every command
/// module.
pub(crate) const DEFAULT_SUPERVISOR_NODE: u64 = 1;