git_lfs/lib.rs
1//! Library surface for the `git-lfs` binary.
2//!
3//! This crate is primarily a binary (see `main.rs`). The library
4//! half exists so other tools in the workspace can reuse the clap
5//! command tree for man-page generation, shell completions, and
6//! the like. Only [`args`] and [`man`] are intentionally public;
7//! the rest of the binary's modules stay private to `main.rs`.
8
9pub mod args;
10pub mod man;
11
12/// The published version of the `git-lfs` binary.
13///
14/// Re-exported so xtask (and any future consumer) renders the
15/// correct banner and man-page version without baking in a literal.
16pub const VERSION: &str = env!("CARGO_PKG_VERSION");