pub struct ProductArgs {
pub repo: RepoArgs,
pub command: Option<ProductCommand>,
pub format: OutputFormat,
pub featured: bool,
pub all: bool,
pub area: Option<String>,
pub domain: Option<String>,
pub module: Option<String>,
pub names_command: Option<String>,
pub surface: Option<String>,
pub query: Option<String>,
}Expand description
majordomus product. The filters and the output shape are global, so they read the way
a person writes them — product list --featured — and are declared once.
Fields§
§repo: RepoArgsWhere and how the repository is read.
command: Option<ProductCommand>list, show, domains, matrix, providers or validate; none lists.
format: OutputFormatOutput shape
featured: boolOnly the features the homepage shows
all: boolInclude drafts and deprecated features, not only the stable ones
area: Option<String>Only features serving this operational area of the why catalogue
domain: Option<String>Only features filed under this product domain
module: Option<String>Only features made of this capability module
names_command: Option<String>Only features made of this shell command
surface: Option<String>Only features exposed through this surface: cli, api, mcp, cockpit or docs
query: Option<String>Case-insensitive text over identities, titles, headlines, summaries, tags and bodies
Trait Implementations§
Source§impl Args for ProductArgs
impl Args for ProductArgs
Source§fn group_id() -> Option<Id>
fn group_id() -> Option<Id>
Report the [
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
Append to [
Command] so it can instantiate self via
[FromArgMatches::update_from_arg_matches_mut] Read moreSource§impl Debug for ProductArgs
impl Debug for ProductArgs
Source§impl FromArgMatches for ProductArgs
impl FromArgMatches for ProductArgs
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>
Assign values from
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>
Assign values from
ArgMatches to self.Auto Trait Implementations§
impl Freeze for ProductArgs
impl RefUnwindSafe for ProductArgs
impl Send for ProductArgs
impl Sync for ProductArgs
impl Unpin for ProductArgs
impl UnsafeUnpin for ProductArgs
impl UnwindSafe for ProductArgs
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
Mutably borrows from an owned value. Read more