pub struct RunArgs {
pub repo: RepoArgs,
pub capability: String,
pub input: Option<String>,
pub follow: bool,
pub quiet: bool,
pub format: OutputFormat,
}Expand description
majordomus run. One capability, run as an execution in this process, followed to its
end.
It runs here rather than on the shared server because following it is the point: the steps and the progress are printed as the handler reports them, over a subscription to this process’s own store rather than by asking anything repeatedly. The capability, the executor and the events are the same ones a browser sees; only the audience differs.
Fields§
§repo: RepoArgsWhere and how the repository is read.
capability: StringThe capability to run, by its canonical id (health.report, objects.verify)
input: Option<String>Its input, as one JSON object; the capability’s input schema is what validates it
follow: boolPrint the events as they arrive on stderr; on by default when stderr is a terminal
quiet: boolPrint nothing but the final output
format: OutputFormatOutput shape
Trait Implementations§
Source§impl Args for RunArgs
impl Args for RunArgs
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 RunArgs
impl FromArgMatches for RunArgs
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.