Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
gitpod-io
GitHub Repository: gitpod-io/gitpod
Path: blob/main/components/gitpod-cli/cmd/tasks.go
2498 views
1
// Copyright (c) 2022 Gitpod GmbH. All rights reserved.
2
// Licensed under the GNU Affero General Public License (AGPL).
3
// See License.AGPL.txt in the project root for license information.
4
5
package cmd
6
7
import (
8
"github.com/spf13/cobra"
9
)
10
11
// tasksCmd represents the tasks command
12
var tasksCmd = &cobra.Command{
13
Use: "tasks",
14
Short: "Interact with workspace tasks",
15
Args: cobra.NoArgs,
16
RunE: func(cmd *cobra.Command, args []string) error {
17
if len(args) == 0 {
18
_ = cmd.Help()
19
}
20
return nil
21
},
22
}
23
24
func init() {
25
rootCmd.AddCommand(tasksCmd)
26
}
27
28