cmd/utils.go
changeset 282 46b37f928ab9
parent 185 564d92b54b00
equal deleted inserted replaced
281:ab781477cc9b 282:46b37f928ab9
    15 
    15 
    16 	"github.com/pkg/errors"
    16 	"github.com/pkg/errors"
    17 	"github.com/spf13/cobra"
    17 	"github.com/spf13/cobra"
    18 	"github.com/spf13/viper"
    18 	"github.com/spf13/viper"
    19 
    19 
    20 	"github.com/McKael/madonctl/printer"
    20 	"github.com/McKael/madonctl/v3/printer"
    21 )
    21 )
    22 
    22 
    23 func checkOutputFormat(cmd *cobra.Command, args []string) error {
    23 func checkOutputFormat(cmd *cobra.Command, args []string) error {
    24 	of := outputFormat
    24 	of := outputFormat
    25 	if of == "" {
    25 	if of == "" {