Return zets as JSON if --json
or -j
is passed
This commit is contained in:
parent
035d575f0e
commit
329d6d34e0
4 changed files with 88 additions and 4 deletions
|
@ -6,6 +6,8 @@ import (
|
|||
"github.com/spf13/cobra"
|
||||
)
|
||||
|
||||
var jsonOutput bool
|
||||
|
||||
// rootCmd represents the base command when called without any subcommands
|
||||
var rootCmd = &cobra.Command{
|
||||
Use: "zet",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue