pub struct OnboardArgs {
pub path: PathBuf,
pub no_hooks: bool,
pub verbose: bool,
pub no_mcp: bool,
}Fields§
§path: PathBufDirectory to index. Defaults to the current working directory.
no_hooks: boolSkip git hook installation in the init step. Mirrors the
asd init --no-hooks flag.
verbose: boolTee the full index log to stderr in real time. Mirrors the
asd index --verbose flag.
no_mcp: boolSkip the MCP-registration step. By default onboard finishes by
registering a project-scoped asd-mcp server (.mcp.json in the repo)
so the user’s agent can reach asd in one command.
Trait Implementations§
Source§impl Args for OnboardArgs
impl Args for OnboardArgs
Source§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 OnboardArgs
impl Debug for OnboardArgs
Source§impl FromArgMatches for OnboardArgs
impl FromArgMatches for OnboardArgs
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 OnboardArgs
impl RefUnwindSafe for OnboardArgs
impl Send for OnboardArgs
impl Sync for OnboardArgs
impl Unpin for OnboardArgs
impl UnsafeUnpin for OnboardArgs
impl UnwindSafe for OnboardArgs
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