Skip to content

Commit

Permalink
Rename slumber info to slumber show
Browse files Browse the repository at this point in the history
I realized `rustup show` exists and is a decent parallel.
  • Loading branch information
LucasPickering committed Nov 21, 2023
1 parent 2cd0492 commit f2330d5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,13 @@

### Added

- Add `slumber info` subcommand
- Add `slumber show` subcommand

### Changed

- Remove keybinding to reload collection
- Not useful now that the TUI has automatic reloading
- Move to stable Rust channel and add MSRV of 1.74

### Fixed

Expand Down
4 changes: 2 additions & 2 deletions src/cli.rs
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ pub enum Subcommand {
},

/// Show meta information about slumber
Info,
Show,
}

impl Subcommand {
Expand Down Expand Up @@ -148,7 +148,7 @@ impl Subcommand {
Ok(())
}

Subcommand::Info => {
Subcommand::Show => {
println!("Directory: {}", data_directory().display());
Ok(())
}
Expand Down

0 comments on commit f2330d5

Please sign in to comment.