// Copyright (c) 2022 Gitpod GmbH. All rights reserved.1// Licensed under the GNU Affero General Public License (AGPL).2// See License.AGPL.txt in the project root for license information.34package cmd56import (7_ "embed"8"fmt"910"github.com/gitpod-io/gitpod/gitpod-cli/pkg/gitpod"1112"github.com/spf13/cobra"13)1415// urlCmd represents the url command16var versionCmd = &cobra.Command{17Use: "version",18Hidden: false,19Short: "Prints the version of the CLI",20Args: cobra.MaximumNArgs(1),21RunE: func(cmd *cobra.Command, args []string) error {22fmt.Println(gitpod.Version)23return nil24},25}2627func init() {28rootCmd.AddCommand(versionCmd)29}303132