From 3592e5b055ad0fcd70d1ae9e4804a4b5c6a77c5d Mon Sep 17 00:00:00 2001 From: Alexander Foremny Date: Thu, 28 Sep 2023 16:45:47 +0200 Subject: add list, show commands The `list` command can be omitted and is the default. The `show` command retains past output. ```console $ anissue -h Usage: anissue anissue list anissue show ``` The implementation uses docopts, the shell variant of docopt [1]. Because of that, wrapping with `--argv0 ''` is necessary when packaging. [1] http://docopt.org/ --- shell.nix | 1 + 1 file changed, 1 insertion(+) (limited to 'shell.nix') diff --git a/shell.nix b/shell.nix index a85e845..bff07ad 100644 --- a/shell.nix +++ b/shell.nix @@ -7,6 +7,7 @@ pkgs.mkShell { buildInputs = [ pkgs.coreutils + pkgs.docopts pkgs.findutils pkgs.gawk pkgs.git -- cgit v1.2.3