Skip to content

Commit

Permalink
Refactor: Add new subcommand aliases
Browse files Browse the repository at this point in the history
  • Loading branch information
Hemant-khadun committed Sep 25, 2024
1 parent 20deee3 commit 0f32994
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/cli.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@ use clap::Command;

pub fn cli() -> Command {
Command::new("courant")
.version("0.1.2")
.version("0.1.3")
.author("Jain Ramchurn")
.subcommand(
Command::new("today")
.about("Show today's power outages")
.aliases(["zordi"]),
.aliases(["zordi", "zrdi"]),
)
.subcommand(
Command::new("tomorrow")
Expand All @@ -17,6 +17,6 @@ pub fn cli() -> Command {
.subcommand(
Command::new("all")
.about("Show both today's and tomorrow's power outages")
.aliases(["tou", "tout"]),
.aliases(["tou", "tout", "tous"]),
)
}

0 comments on commit 0f32994

Please sign in to comment.