pub enum Command {
Show 34 variants
Run(RunArgs),
Up(UpArgs),
Down(DownArgs),
Build(BuildArgs),
Start(StartArgs),
Stop(StopArgs),
Restart(RestartArgs),
Destroy(DestroyArgs),
Clean(CleanArgs),
List(ListArgs),
Logs(LogsArgs),
Top(TopArgs),
Topic(TopicCommand),
Status(StatusArgs),
Trace(TraceArgs),
Validate(ValidateCliArgs),
Expand(ExpandCliArgs),
Graph(GraphCliArgs),
Node(NodeCommand),
Param(ParamCommand),
Record(RecordCommand),
Replay(ReplayArgs),
Bag(BagCommand),
Ros2(Ros2Command),
New(NewCommand),
Migrate(MigrateCommand),
Doctor(DoctorCliArgs),
Completion(CompletionCliArgs),
Schema(SchemaCliArgs),
Token(TokenCommand),
Hub(HubCommand),
Daemon(DaemonArgs),
Coordinator(CoordinatorArgs),
Runtime(RuntimeArgs),
}Expand description
The full astrs verb set (blueprint §17).
Variants§
Run(RunArgs)
Run a dataflow in single-process mode (embeds an in-process daemon; no coordinator).
Up(UpArgs)
Start a dataflow cluster (coordinator + daemons already running).
Down(DownArgs)
Tear down a running dataflow cluster.
Build(BuildArgs)
Build every node in a manifest (resolves git: sources via the
system git binary, then runs each node’s build: command).
Start(StartArgs)
Start a dataflow on an already-running cluster.
Stop(StopArgs)
Stop a running dataflow, leaving the cluster up.
Restart(RestartArgs)
Stop then restart a running dataflow.
Destroy(DestroyArgs)
Stop a dataflow and release every resource it held.
Clean(CleanArgs)
Reclaim the resources of dataflows that have already finished.
List(ListArgs)
List known dataflows.
Logs(LogsArgs)
Tail (or dump) a dataflow’s logs.
Top(TopArgs)
Launch the live TUI monitor.
Topic(TopicCommand)
Inspect a running topic.
Status(StatusArgs)
Show a dataflow’s (or node’s) current status.
Trace(TraceArgs)
Print a causal (HLC-ordered) event trace.
Validate(ValidateCliArgs)
Parse, expand and type-check a manifest, reporting every diagnostic found.
Expand(ExpandCliArgs)
Print a manifest with every module:-sourced node flattened.
Graph(GraphCliArgs)
Visualize a manifest’s dataflow graph.
Node(NodeCommand)
Add, remove or replace a node in a running dataflow.
Param(ParamCommand)
Get, set, list or delete a running dataflow’s parameters.
Record(RecordCommand)
Start or stop recording a dataflow’s outputs to a .arec file.
Replay(ReplayArgs)
Replay a .arec recording as live sources.
Bag(BagCommand)
Convert or inspect a rosbag2 (.db3/.mcap) file.
Ros2(Ros2Command)
ROS 2 interop diagnostics.
New(NewCommand)
Scaffold a new node, operator, or graph manifest.
Migrate(MigrateCommand)
Migrate a manifest from another dataflow framework.
Doctor(DoctorCliArgs)
Check the local environment for AstRS-readiness.
Completion(CompletionCliArgs)
Generate a shell completion script.
Schema(SchemaCliArgs)
Emit the manifest JSON schema.
Token(TokenCommand)
Mint a scoped cluster credential from the root token (blueprint §16, §22).
Hub(HubCommand)
Manage the local AstRS package index (blueprint §22): update, search, inspect, or scaffold one for self-hosting.
Daemon(DaemonArgs)
(internal) Run the per-machine daemon process.
Coordinator(CoordinatorArgs)
(internal) Run the cluster coordinator process.
Runtime(RuntimeArgs)
(internal) Run an operator-hosting runtime process.
Trait Implementations§
Source§impl FromArgMatches for Command
impl FromArgMatches for Command
Source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
Source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches,
) -> Result<Self, Error>
fn from_arg_matches_mut( __clap_arg_matches: &mut ArgMatches, ) -> Result<Self, Error>
Source§fn update_from_arg_matches(
&mut self,
__clap_arg_matches: &ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches( &mut self, __clap_arg_matches: &ArgMatches, ) -> Result<(), Error>
ArgMatches to self.Source§fn update_from_arg_matches_mut<'b>(
&mut self,
__clap_arg_matches: &mut ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches_mut<'b>( &mut self, __clap_arg_matches: &mut ArgMatches, ) -> Result<(), Error>
ArgMatches to self.Source§impl Subcommand for Command
impl Subcommand for Command
Source§fn augment_subcommands<'b>(__clap_app: Command) -> Command
fn augment_subcommands<'b>(__clap_app: Command) -> Command
Source§fn augment_subcommands_for_update<'b>(__clap_app: Command) -> Command
fn augment_subcommands_for_update<'b>(__clap_app: Command) -> Command
Command so it can instantiate self via
FromArgMatches::update_from_arg_matches_mut Read moreSource§fn has_subcommand(__clap_name: &str) -> bool
fn has_subcommand(__clap_name: &str) -> bool
Self can parse a specific subcommandAuto Trait Implementations§
impl Freeze for Command
impl RefUnwindSafe for Command
impl Send for Command
impl Sync for Command
impl Unpin for Command
impl UnsafeUnpin for Command
impl UnwindSafe for Command
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more