Skip to content

Commit

Permalink
refactor: Use env for binary name
Browse files Browse the repository at this point in the history
- This name has probability to change after

Refs: #5, #8
  • Loading branch information
attakei committed Apr 7, 2024
1 parent dcd10d4 commit b70ae44
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/commands.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ use crate::workspace::Workspace;
const VERSION: &str = concat!("v", env!("CARGO_PKG_VERSION"));

#[derive(Parser)]
#[command(name = "age", version = VERSION, about, long_about = None)]
#[command(name = env!("CARGO_BIN_NAME"), version = VERSION, about, long_about = None)]
struct Cli {
#[command(subcommand)]
command: Option<Commands>,
Expand Down

0 comments on commit b70ae44

Please sign in to comment.