func AddFlags(cmd *cobra.Command) {
	cmd.Flags().BoolVarP(&quiet, "quiet", "q", false, "Suppress output to stderr.")
}
AddFlags adds quiet flag to suppress output to stderr
package output
import (
	"fmt"
	"github.com/spf13/cobra"
	"os"
)
var quiet bool
func PrintToStdErr(output string, vars ...interface{}) {
	if !quiet {
		fmt.Fprintf(os.Stderr, output, vars...)
	}
}