Skip to main content

Command

Enum Command 

Source
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 Debug for Command

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl FromArgMatches for Command

Source§

fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>

Instantiate Self from ArgMatches, parsing the arguments as needed. Read more
Source§

fn from_arg_matches_mut( __clap_arg_matches: &mut ArgMatches, ) -> Result<Self, Error>

Instantiate Self from ArgMatches, parsing the arguments as needed. Read more
Source§

fn update_from_arg_matches( &mut self, __clap_arg_matches: &ArgMatches, ) -> Result<(), Error>

Assign values from ArgMatches to self.
Source§

fn update_from_arg_matches_mut<'b>( &mut self, __clap_arg_matches: &mut ArgMatches, ) -> Result<(), Error>

Assign values from ArgMatches to self.
Source§

impl Subcommand for Command

Source§

fn augment_subcommands<'b>(__clap_app: Command) -> Command

Append to Command so it can instantiate Self via FromArgMatches::from_arg_matches_mut Read more
Source§

fn augment_subcommands_for_update<'b>(__clap_app: Command) -> Command

Append to Command so it can instantiate self via FromArgMatches::update_from_arg_matches_mut Read more
Source§

fn has_subcommand(__clap_name: &str) -> bool

Test whether Self can parse a specific subcommand

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
where ST: ?Sized, DT: ?Sized,

Source§

impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
where ST: ?Sized, DT: ?Sized,

Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self> ⓘ

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self> ⓘ

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> IntoEither for T

Source§

fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ

Converts 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 more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
where F: FnOnce(&Self) -> bool,

Converts 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
Source§

impl<T> MaybeDebug for T

Source§

impl<T> Pointable for T

Source§

const ALIGN: usize

The alignment of pointer.
Source§

type Init = T

The type for initializers.
Source§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
Source§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
Source§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
Source§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
Source§

impl<T> Read<Exclusive, BecauseExclusive> for T
where T: ?Sized,

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

Source§

fn vzip(self) -> V

Source§

impl<T> WithSubscriber for T

Source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> ⓘ
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

fn with_current_subscriber(self) -> WithDispatch<Self> ⓘ

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more