grapevine/src/clap.rs
Charles Hall 509b70bd82
use the version function for s2s API too
This way the extra version information can appear there as well. Mainly
useful for showing off :P
2024-05-14 20:21:51 -07:00

13 lines
267 B
Rust

//! Integration with `clap`
use clap::Parser;
/// Command line arguments
#[derive(Parser)]
#[clap(about, version = crate::version())]
pub(crate) struct Args;
/// Parse command line arguments into structured data
pub(crate) fn parse() -> Args {
Args::parse()
}