pub struct Args {
pub atlas: Option<String>,
pub listen: Option<String>,
pub id: Option<String>,
pub vlm_upstream: Option<String>,
pub vlm_api_key: Option<String>,
pub vlm_model: Option<String>,
pub vlm_format: Option<String>,
pub config: Option<PathBuf>,
pub log: Option<String>,
pub config_json: Option<String>,
}Expand description
CLI surface; every field is optional so config-file mode stays usable without spelling out flags. clap also reads the listed env vars.
Fields§
§atlas: Option<String>Atlas control-plane endpoint. Also reads ROBONIX_ATLAS (the var rbnx /
the Python API / liaison use) as an alias; see env_atlas.
listen: Option<String>Address pilot’s SystemPilot gRPC binds to.
id: Option<String>Override pilot’s id (singleton, rarely needed).
vlm_upstream: Option<String>LLM API base URL (e.g. https://api.openai.com/v1).
vlm_api_key: Option<String>LLM API key.
vlm_model: Option<String>LLM model identifier.
vlm_format: Option<String>LLM API dialect (“openai” only for now).
config: Option<PathBuf>YAML config file (rbnx writes this; CLI/env still override individual fields).
log: Option<String>Log level for this component (debug/info/warn/error). Sets the
scribe log-file floor; falls back to SCRIBE_FILE_LEVEL / info.
Normally arrives inside --config-json, not as a standalone flag.
config_json: Option<String>The component’s system.pilot manifest block, serialized to JSON by
rbnx and passed as one arg (--config-json '{…}'). Parsed by the
binary itself — see robonix_scribe::init_from_config, which reads the
log key from it so the manifest’s per-component level reaches the log.
Trait Implementations§
Source§impl Args for Args
impl Args for Args
Source§fn group_id() -> Option<Id>
fn group_id() -> Option<Id>
ArgGroup::id][crate::ArgGroup::id] for this set of argumentsSource§fn augment_args<'b>(__clap_app: Command) -> Command
fn augment_args<'b>(__clap_app: Command) -> Command
Source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
fn augment_args_for_update<'b>(__clap_app: Command) -> Command
Command] so it can instantiate self via
[FromArgMatches::update_from_arg_matches_mut] Read moreSource§impl FromArgMatches for Args
impl FromArgMatches for Args
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(
&mut self,
__clap_arg_matches: &mut ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches_mut( &mut self, __clap_arg_matches: &mut ArgMatches, ) -> Result<(), Error>
ArgMatches to self.Source§impl Parser for Args
impl Parser for Args
§fn parse_from<I, T>(itr: I) -> Self
fn parse_from<I, T>(itr: I) -> Self
§fn try_parse_from<I, T>(itr: I) -> Result<Self, Error>
fn try_parse_from<I, T>(itr: I) -> Result<Self, Error>
§fn update_from<I, T>(&mut self, itr: I)
fn update_from<I, T>(&mut self, itr: I)
§fn try_update_from<I, T>(&mut self, itr: I) -> Result<(), Error>
fn try_update_from<I, T>(&mut self, itr: I) -> Result<(), Error>
Auto Trait Implementations§
impl Freeze for Args
impl RefUnwindSafe for Args
impl Send for Args
impl Sync for Args
impl Unpin for Args
impl UnsafeUnpin for Args
impl UnwindSafe for Args
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<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T in a tonic::Request§impl<L> LayerExt<L> for L
impl<L> LayerExt<L> for L
§fn named_layer<S>(&self, service: S) -> Layered<<L as Layer<S>>::Service, S>where
L: Layer<S>,
fn named_layer<S>(&self, service: S) -> Layered<<L as Layer<S>>::Service, S>where
L: Layer<S>,
Layered].