-
Notifications
You must be signed in to change notification settings - Fork 12
/
view.go
35 lines (31 loc) · 894 Bytes
/
view.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
// Copyright (c) 2020 Target Brands, Inc. All rights reserved.
//
// Use of this source code is governed by the LICENSE file in this repository.
package cmd
import (
"github.com/go-vela/cli/cmd/build"
"github.com/go-vela/cli/cmd/config"
"github.com/go-vela/cli/cmd/log"
"github.com/go-vela/cli/cmd/repo"
"github.com/go-vela/cli/cmd/secret"
"github.com/go-vela/cli/cmd/service"
"github.com/go-vela/cli/cmd/step"
"github.com/urfave/cli"
)
// viewCmds defines the commands for viewing resources.
var viewCmds = cli.Command{
Name: "view",
Category: "Resource Management",
Aliases: []string{"v"},
Description: "Use this command to view resources for Vela.",
Usage: "View resources for Vela via subcommands",
Subcommands: []cli.Command{
build.ViewCmd,
config.ViewCmd,
log.ViewCmd,
repo.ViewCmd,
secret.ViewCmd,
service.ViewCmd,
step.ViewCmd,
},
}