pub struct AddArgs {
pub target: Option<String>,
}Expand description
Add a flodl ecosystem crate as a side playground inside the current flodl project.
Currently supports flodl-hf (alias: hf). Drops a standalone
cargo crate under ./flodl-hf/ with pinned deps, a one-file
AutoModel example, fdl.yml with runnable commands, and a README
documenting feature flavors and next steps. Does NOT mutate the
caller’s root Cargo.toml or fdl.yml.
Fields§
§target: Option<String>Target to scaffold (currently: flodl-hf or the alias hf).
Trait Implementations§
Source§impl FdlArgsTrait for AddArgs
impl FdlArgsTrait for AddArgs
Source§fn try_parse_from(args: &[String]) -> Result<Self, String>
fn try_parse_from(args: &[String]) -> Result<Self, String>
Parse from an explicit argv slice. First element is the program
name (ignored), following elements are flags/values/positionals.
Source§fn render_help() -> String
fn render_help() -> String
Render
--help to a string.Auto Trait Implementations§
impl Freeze for AddArgs
impl RefUnwindSafe for AddArgs
impl Send for AddArgs
impl Sync for AddArgs
impl Unpin for AddArgs
impl UnsafeUnpin for AddArgs
impl UnwindSafe for AddArgs
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