pub struct InitOptions {
pub force: bool,
pub include: Vec<String>,
pub exclude: Vec<String>,
pub output: Option<PathBuf>,
pub cache_path: Option<PathBuf>,
pub vars_path: Option<PathBuf>,
pub workers: Option<usize>,
pub yes: bool,
pub no_bootstrap: bool,
}Expand description
Options for the init command
Fields§
§force: boolForce overwrite existing config
include: Vec<String>File patterns to include
exclude: Vec<String>File patterns to exclude
output: Option<PathBuf>Config file output path (default: .acp.config.json)
cache_path: Option<PathBuf>Cache file output path
vars_path: Option<PathBuf>Vars file output path
workers: Option<usize>Number of parallel workers
yes: boolSkip interactive prompts
no_bootstrap: boolSkip AI tool bootstrap
Trait Implementations§
Source§impl Clone for InitOptions
impl Clone for InitOptions
Source§fn clone(&self) -> InitOptions
fn clone(&self) -> InitOptions
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for InitOptions
impl Debug for InitOptions
Source§impl Default for InitOptions
impl Default for InitOptions
Source§fn default() -> InitOptions
fn default() -> InitOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for InitOptions
impl RefUnwindSafe for InitOptions
impl Send for InitOptions
impl Sync for InitOptions
impl Unpin for InitOptions
impl UnwindSafe for InitOptions
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
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 moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
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