From 1db37a27da46c34f9e49c8e4f6726f897453cf5d Mon Sep 17 00:00:00 2001 From: pancsta <155631569+pancsta@users.noreply.github.com> Date: Fri, 4 Oct 2024 03:35:16 +0200 Subject: [PATCH] restore show-history (#3) --- main.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/main.go b/main.go index 46c0b2d..c73c5bc 100644 --- a/main.go +++ b/main.go @@ -43,6 +43,9 @@ var ( clearToolArgs = clearer.Flag("tool-args", "Extra arguments to pass to the --tool").Short('T').Default("").String() clearAll = clearer.Flag("all", "Remove all items").Short('a').Default("false").Bool() clearEsc = clearer.Flag("print0", "Separate items using NULL; recommended if your tool supports --read0 or similar").Default("false").Bool() + + showHistory = app.Command("show-history", "Show all items from history") + _ = app.Command("restore", "Serve the last recorded item from history") )