Skip to content

Commit

Permalink
add version
Browse files Browse the repository at this point in the history
  • Loading branch information
zztkm committed Jun 30, 2024
1 parent b278eec commit eb30ab4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,17 @@
use clap::{Parser, Subcommand};
use std::io::{Read, Write};

/// A zztkm toolbox
#[derive(Parser)]
#[command(version, about, long_about = None)]
struct Cli {
#[command(subcommand)]
command: Commands,
}

#[derive(Subcommand)]
enum Commands {
/// Concatenate and print files
Cat { files: Option<Vec<String>> },
}

Expand Down

0 comments on commit eb30ab4

Please sign in to comment.