Skip to content
This repository has been archived by the owner on Nov 19, 2023. It is now read-only.

Commit

Permalink
feat: add --version option
Browse files Browse the repository at this point in the history
  • Loading branch information
eitsupi committed Jan 31, 2023
1 parent 237165b commit 8cdcd22
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,11 @@ type SourcesType = Vec<(String, String)>;

/// pq: query and transform data with PRQL
#[derive(Parser, Debug)]
#[clap(
name = env!("CARGO_PKG_NAME"),
version = env!("CARGO_PKG_VERSION"),
about = env!("CARGO_PKG_DESCRIPTION")
)]
struct Cli {
/// The file(s) to read data FROM if given
#[clap(short, long, value_parser, env = "PQ_FROM")]
Expand Down

0 comments on commit 8cdcd22

Please sign in to comment.