Expand description
Clap CLI surface (struct Cli + subcommands).
Extracted from main.rs so xtask (and any future tool) can
reuse the command tree for man-page generation, completion
scripts, etc. Keep this file focused on the clap derive — all
dispatch / business logic stays in main.rs and the per-command
modules.
Each subcommand is a tuple variant on Command delegating to
a *Args struct. The struct is the home for the rustdoc that
drives clap’s about / long_about (first paragraph → about,
rest → long_about) and for #[command(...)] extras such as
after_help, aliases, and arg-group headings. Keep the variants
themselves bare — putting a doc comment on the variant would
shadow the struct’s docs.
Structs§
- Checkout
Args - Populate working copy with real content from Git LFS files.
- Clean
Args - Git clean filter that converts large files to pointers
- Cli
- Clone
Args - Efficiently clone a LFS-enabled repository
- EnvArgs
- Display the Git LFS environment
- ExtArgs
- List the configured LFS pointer extensions
- Fetch
Args - Download all Git LFS files for a given ref
- Filter
Process Args - Git filter process that converts between pointer and actual content
- Fsck
Args - Check Git LFS files for consistency
- Install
Args - Install Git LFS configuration
- Lock
Args - Set a file as “locked” on the Git LFS server
- Locks
Args - Lists currently locked files from the Git LFS server
- LsFiles
Args - Show information about Git LFS files in the index and working tree
- Migrate
Args - Migrate history to or from Git LFS
- Migrate
Export Args - Convert Git LFS pointers to Git objects
- Migrate
Import Args - Convert Git objects to Git LFS pointers
- Migrate
Info Args - Show information about repository size
- Pointer
Args - Build, compare, and check pointers
- Post
Checkout Args - Git post-checkout hook implementation
- Post
Commit Args - Git post-commit hook implementation
- Post
Merge Args - Git post-merge hook implementation
- PrePush
Args - Git pre-push hook implementation
- Prune
Args - Delete old LFS files from local storage
- Pull
Args - Download all Git LFS files for current ref and checkout
- Push
Args - Push queued large files to the Git LFS endpoint
- Smudge
Args - Git smudge filter that converts pointer in blobs to the actual content
- Status
Args - Show the status of Git LFS files in the working tree
- Track
Args - View or add Git LFS paths to Git attributes
- Uninstall
Args - Remove Git LFS configuration
- Unlock
Args - Remove “locked” setting for a file on the Git LFS server
- Untrack
Args - Remove Git LFS paths from Git attributes
- Update
Args - Update Git hooks
- Version
Args - Print the git-lfs version banner and exit