Skip to content

Commit

Permalink
Include short description for cluster (#310)
Browse files Browse the repository at this point in the history
* Include short description for cluster

* Include short description for cluster

* Update pkg/cmd/cluster/cluster.go

Co-authored-by: Jarryd Tilbrook <[email protected]>

* Include short description for cluster

* Update Readme

---------

Co-authored-by: priya kandababu <[email protected]>
Co-authored-by: Jarryd Tilbrook <[email protected]>
  • Loading branch information
3 people authored Jul 4, 2024
1 parent 459dfec commit 39bb198
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ $ bk agent stop <agent ID>
Available Commands:
agent Manage agents
build Manage pipeline builds
cluster Manage organization clusters
completion Generate the autocompletion script for the specified shell
configure Configure Buildkite API token
help Help about any command
Expand Down
7 changes: 4 additions & 3 deletions pkg/cmd/cluster/cluster.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,10 @@ import (

func NewCmdCluster(f *factory.Factory) *cobra.Command {
cmd := cobra.Command{
Use: "cluster <command>",
Args: cobra.ArbitraryArgs,
Long: "View cluster information",
Use: "cluster <command>",
Args: cobra.ArbitraryArgs,
Long: "Manage organization clusters",
Short: "Manage organization clusters",
Example: heredoc.Doc(`
# To view cluster details
$ bk cluster view "cluster_id"
Expand Down

0 comments on commit 39bb198

Please sign in to comment.