mirror of
https://github.com/gitpod-io/gitpod.git
synced 2025-12-08 17:36:30 +00:00
* Restructure config and contexts * Org ID and Host in `config get` * Bump version --------- Co-authored-by: Filip Troníček <filip@gitpod.io>
20 lines
509 B
Go
20 lines
509 B
Go
// Copyright (c) 2023 Gitpod GmbH. All rights reserved.
|
|
// Licensed under the GNU Affero General Public License (AGPL).
|
|
// See License.AGPL.txt in the project root for license information.
|
|
|
|
package cmd
|
|
|
|
import (
|
|
"github.com/spf13/cobra"
|
|
)
|
|
|
|
var configContextCmd = &cobra.Command{
|
|
Use: "context",
|
|
Aliases: []string{"contexts", "ctx"},
|
|
Short: "Interact with the CLI's contexts - if you don't know what this means, you probably don't need it",
|
|
}
|
|
|
|
func init() {
|
|
configCmd.AddCommand(configContextCmd)
|
|
}
|