Skip to content

Commit

Permalink
add: clear an cleanup aliases for clean subcommand
Browse files Browse the repository at this point in the history
  • Loading branch information
Nukesor committed Oct 6, 2023
1 parent 94ecaaf commit 61fcfce
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -18,6 +18,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),

### Added

- `clear` and `cleanup` aliases for `clean` subcommand.

The two following features are very new and marked as "experimental" for the time being.
They might be reworked in a later release, since working with shells is always tricky and this definitely need more testing.

1 change: 1 addition & 0 deletions pueue/src/client/cli.rs
Original file line number Diff line number Diff line change
@@ -438,6 +438,7 @@ https://github.com/Nukesor/pueue/issues/350#issue-1359083118"
},

/// Remove all finished tasks from the list.
#[command(aliases(["cleanup", "clear"]))]
Clean {
/// Only clean tasks that finished successfully.
#[arg(short, long)]

0 comments on commit 61fcfce

Please sign in to comment.