feat: Add short output flag

Ref https://github.com/mr-karan/doggo/issues/35
This commit is contained in:
Karan Sharma 2022-05-17 10:34:55 +05:30
parent 7619cbdeb0
commit eec8374e6f
6 changed files with 14 additions and 2 deletions

View file

@ -33,6 +33,7 @@ type QueryFlags struct {
Color bool `koanf:"color" json:"-"`
DisplayTimeTaken bool `koanf:"time" json:"-"`
ShowJSON bool `koanf:"json" json:"-"`
ShortOutput bool `koanf:"short" short:"-"`
UseSearchList bool `koanf:"search" json:"-"`
ReverseLookup bool `koanf:"reverse" reverse:"-"`
Strategy string `koanf:"strategy" strategy:"-"`