mirror of https://gitlab.com/famedly/conduit.git
Browse Source
Add argument parser for the conduit executable Closes #285 See merge request famedly/conduit!385merge-requests/582/head
3 changed files with 16 additions and 0 deletions
@ -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