mirror of https://gitlab.com/famedly/conduit
Merge branch 'argparse' into 'next'
Add argument parser for the conduit executable Closes #285 See merge request famedly/conduit!385merge-requests/551/head^2
commit
741ca63e94
@ -0,0 +1,13 @@
|
||||
//! Integration with `clap`
|
||||
|
||||
use clap::Parser;
|
||||
|
||||
/// Command line arguments
|
||||
#[derive(Parser)]
|
||||
#[clap(about, version)]
|
||||
pub struct Args {}
|
||||
|
||||
/// Parse command line arguments into structured data
|
||||
pub fn parse() -> Args {
|
||||
Args::parse()
|
||||
}
|
Loading…
Reference in New Issue