mirror of
https://gitlab.computer.surgery/matrix/grapevine.git
synced 2025-12-17 15:51:23 +01:00
This way the extra version information can appear there as well. Mainly useful for showing off :P
13 lines
267 B
Rust
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()
|
|
}
|