mirror of https://codeberg.org/topola/topola.git
Add: --help and --version commands
This commit is contained in:
parent
8d2db0a0dc
commit
f72eac2636
|
|
@ -3,7 +3,8 @@ use std::fs::File;
|
||||||
use std::io::prelude::*;
|
use std::io::prelude::*;
|
||||||
use std::io::BufReader;
|
use std::io::BufReader;
|
||||||
|
|
||||||
#[derive(Parser)]
|
#[derive(Parser, Debug, Default)]
|
||||||
|
#[command(about, version)]
|
||||||
struct Cli {
|
struct Cli {
|
||||||
input: std::path::PathBuf,
|
input: std::path::PathBuf,
|
||||||
output: std::path::PathBuf,
|
output: std::path::PathBuf,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue