func NewLicenseGetCommand() *cobra.Command {
	cmd := &cobra.Command{
		Use:     "get",
		Short:   "Print information about the active Lenses license",
		Example: `lenses-cli license get`,
		RunE: func(cmd *cobra.Command, args []string) error {
			lc, err := config.Client.GetLicenseInfo()
			if err != nil {
				return err
			}
			return bite.PrintObject(cmd, lc)
		},
	}
	bite.CanPrintJSON(cmd)
	return cmd
}
NewLicenseGetCommand creates the `license get` subcommand
package license
import (
	"encoding/json"
	"errors"
	"fmt"
	"io"
	"io/ioutil"
	"os"
	"github.com/kataras/golog"
	"github.com/lensesio/bite"
	"github.com/lensesio/lenses-go/pkg/api"
	config "github.com/lensesio/lenses-go/pkg/configs"
	"github.com/spf13/cobra"
)
func NewLicenseGroupCommand() *cobra.Command {
	cmd := &cobra.Command{
		Use:   "license",
		Short: "View or update Lenses license",
		Example: `lenses-cli license get
lenses-cli license update --license-file <license.json>`,
	}
	cmd.AddCommand(NewLicenseGetCommand())
	cmd.AddCommand(NewLicenseUpdateCommand())
	return cmd
}