From a6cfafe3e8ce8a157fcfac5c4adb6469974ad348 Mon Sep 17 00:00:00 2001 From: AlejandroSuero Date: Sun, 2 Jun 2024 18:13:26 +0200 Subject: [PATCH] feat(#100): added `show-cmd` flag to config --- config.go | 1 + 1 file changed, 1 insertion(+) diff --git a/config.go b/config.go index cd572e6..7561ae8 100644 --- a/config.go +++ b/config.go @@ -27,6 +27,7 @@ type Config struct { // Settings Config string `json:"config,omitempty" help:"Base configuration file or template." short:"c" group:"Settings" default:"default" placeholder:"base"` + ShowCmd bool `json:"show_cmd" help:"Show executed command." short:"s" group:"Settings" placeholder:"false"` Interactive bool `hidden:"" json:",omitempty" help:"Use an interactive form for configuration options." short:"i" group:"Settings"` Language string `json:"language,omitempty" help:"Language of code file." short:"l" group:"Settings" placeholder:"go"` Theme string `json:"theme" help:"Theme to use for syntax highlighting." short:"t" group:"Settings" placeholder:"charm"`