Weave documentation
Rust referenceweave-loom

weave-loom · commands::export_git

Source declarations, signatures and documentation for commands::export_git.

Source: sigil/weave/tools/loom/src/commands/export_git.rs. SHA-256: f2f30f37c2d25af890b6fb7fa4089a56ad96d798cbdb467f5f5e746a64778aa0.

This reference follows declared source modules, retains conditional attributes, and includes public declarations and implementation methods. Private-module re-exports and trait resolution require the compiler; this is a source reference, not a claim that every listed item is a root import. Function bodies and constant values are omitted.

commands::export_git::ExportGitArgs

Arguments for loom export-git.

#[derive(Debug, clap::Args)]
pub struct ExportGitArgs {
/// Destination directory for the new git repo. Must be empty (or

/// non-existent).

pub destination: PathBuf,
/// Branch in the loom repo to export (default: the loom default

/// branch).

#[arg(long)]
pub branch: Option<String>
}

Source line: 21.

commands::export_git::run

Execute loom export-git.

pub async fn run(args: ExportGitArgs) -> Result<()>;

Source line: 33.

On this page