systemg 0.57.1

An agent-friendly general process composer.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
//! The `logs` command's plan layer, rebuilt from first principles.
//!
//! - [`crate::logs_cmd::plan`] — resolves the mode flags + selectors into one
//!   exhaustive [`crate::logs_cmd::LogsPlan`], or a typed
//!   [`crate::logs_cmd::LogsPlanError`].
//! - [`crate::logs_cmd::diagnostics`] — typed diagnostics for mode resolution.
//!
//! The log I/O itself (tailing, streaming, rotation, formatting) lives in
//! [`crate::logs`]; this module only decides which mode an invocation is.

pub mod diagnostics;
pub mod plan;

pub use diagnostics::{
    conflicting_modes, follow_with_mode, loose_service_not_found, prune_bound_missing,
    supervisor_with_selector, target_required, unsupported_format,
};
pub use plan::{LogsPlan, LogsPlanError, Modes, resolve_plan};