main: Use labadoor-auth
instead of the CSV module directly
This commit is contained in:
parent
2caad2a5ef
commit
e7c34865c5
6 changed files with 41 additions and 30 deletions
|
@ -1,4 +1,5 @@
|
|||
use clap::{Parser, ValueEnum};
|
||||
use serde::Deserialize;
|
||||
|
||||
#[derive(Parser, Debug)]
|
||||
pub struct Cli {
|
||||
|
@ -29,3 +30,11 @@ pub struct Open {
|
|||
pub fn parse() -> Cli {
|
||||
Cli::parse()
|
||||
}
|
||||
|
||||
#[cfg(feature = "csv")]
|
||||
#[derive(Deserialize, Parser, Debug)]
|
||||
pub struct CSV {
|
||||
#[clap(short, long)]
|
||||
#[arg(default_value = "Some(String::from(\"/etc/labadoor\"))")]
|
||||
pub path: String,
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue