mirror of
https://gitlab.computer.surgery/matrix/grapevine.git
synced 2025-12-17 07:41:23 +01:00
rename src/{clap -> args}.rs
This commit is contained in:
parent
b34e001997
commit
3650fde0ac
2 changed files with 2 additions and 2 deletions
13
src/args.rs
Normal file
13
src/args.rs
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
//! 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()
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue