mirror of
https://github.com/anotherhadi/spilltea.git
synced 2026-07-06 20:42:33 +02:00
pflag -> cobra: Sub commands, completions, ...
Signed-off-by: Hadi <hadi@example.com>
This commit is contained in:
@@ -9,6 +9,14 @@
|
||||
inherit pname version ldflags;
|
||||
src = ../.;
|
||||
modules = ./gomod2nix.toml;
|
||||
nativeBuildInputs = [ pkgs.installShellFiles ];
|
||||
env.GOTOOLCHAIN = "local";
|
||||
postInstall = ''
|
||||
installShellCompletion --cmd spilltea \
|
||||
--bash <($out/bin/spilltea completion bash) \
|
||||
--zsh <($out/bin/spilltea completion zsh) \
|
||||
--fish <($out/bin/spilltea completion fish)
|
||||
'';
|
||||
meta = with pkgs.lib; {
|
||||
description = "A minimal, terminal-based HTTP(S) proxy for pentesters and CTF players.";
|
||||
homepage = "https://github.com/anotherhadi/spilltea";
|
||||
|
||||
Reference in New Issue
Block a user