Skip to content

Commit

Permalink
Add support to fetch ID from the material
Browse files Browse the repository at this point in the history
Add updated CLI documentation
  • Loading branch information
nikhilsbhat committed Sep 11, 2023
1 parent ed2d71d commit 669f3e5
Show file tree
Hide file tree
Showing 143 changed files with 290 additions and 164 deletions.
78 changes: 60 additions & 18 deletions cmd/materials.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import (
"strconv"
"strings"

"github.com/nikhilsbhat/gocd-cli/pkg/errors"
"github.com/nikhilsbhat/gocd-cli/pkg/render"
"github.com/nikhilsbhat/gocd-sdk-go"
"github.com/spf13/cobra"
Expand All @@ -13,9 +14,9 @@ import (
var (
materialNames []string
materialFilters []string
materialName string
materialID string
materialFailed bool
fetchID bool
)

func registerMaterialsCommand() *cobra.Command {
Expand All @@ -24,6 +25,7 @@ func registerMaterialsCommand() *cobra.Command {
Short: "Command to operate on materials present in GoCD [https://api.gocd.org/current/#get-all-materials]",
Long: `Command leverages GoCD materials apis' [https://api.gocd.org/current/#get-all-materials] to
GET/LIST and get USAGE of material present in GoCD (make sure you have appropriate plugin is installed before using this)`,
Example: "gocd-cli materials [sub-command] [arg] [--flags]",
RunE: func(cmd *cobra.Command, args []string) error {
if err := cmd.Usage(); err != nil {
return err
Expand All @@ -49,8 +51,11 @@ GET/LIST and get USAGE of material present in GoCD (make sure you have appropria

func getMaterialsCommand() *cobra.Command {
getMaterialsCmd := &cobra.Command{
Use: "get",
Short: "Command to GET all materials present in GoCD [https://api.gocd.org/current/#get-all-materials]",
Use: "get",
Short: "Command to GET all materials present in GoCD [https://api.gocd.org/current/#get-all-materials]",
Example: `gocd-cli materials get --filter type=git
gocd-cli materials get --failed
gocd-cli materials get --names`,
Args: cobra.NoArgs,
PreRunE: setCLIClient,
RunE: func(cmd *cobra.Command, args []string) error {
Expand Down Expand Up @@ -130,6 +135,7 @@ func listMaterialsCommand() *cobra.Command {
getMaterialsCmd := &cobra.Command{
Use: "list",
Short: "Command to LIST all materials present in GoCD [https://api.gocd.org/current/#get-all-materials]",
Example: "gocd-cli materials list --yaml (only lists materials that has name or URL)",
Args: cobra.NoArgs,
PreRunE: setCLIClient,
RunE: func(cmd *cobra.Command, args []string) error {
Expand All @@ -140,15 +146,15 @@ func listMaterialsCommand() *cobra.Command {

materials := make([]string, 0)
for _, material := range response {
if material.Type == "plugin" {
if material.Config.Type == "plugin" {
continue
}

if len(material.Attributes.Name) != 0 {
materials = append(materials, material.Attributes.Name)
if len(material.Config.Attributes.Name) != 0 {
materials = append(materials, material.Config.Attributes.Name)
}
if len(material.Attributes.URL) != 0 {
materials = append(materials, material.Attributes.URL)
if len(material.Config.Attributes.URL) != 0 {
materials = append(materials, material.Config.Attributes.URL)
}
}

Expand All @@ -163,10 +169,30 @@ func getMaterialUsageCommand() *cobra.Command {
getAgentProfilesUsageCmd := &cobra.Command{
Use: "usage",
Short: "Command to GET an information about pipelines using the specified material",
Example: "gocd-cli materials usage https://github.com/nikhilsbhat/helm-drift.git --fetch-id",
Args: cobra.RangeArgs(1, 1),
PreRunE: setCLIClient,
RunE: func(cmd *cobra.Command, args []string) error {
response, err := client.GetMaterialUsage(args[0])
materialID = args[0]

if fetchID {
materials, err := client.GetMaterials()
if err != nil {
return err
}

materials = funk.Filter(materials, func(material gocd.Material) bool {
return funk.Contains(material.Config.Attributes.URL, args[0])
}).([]gocd.Material)

if len(materials) == 0 {
return &errors.MaterialError{Message: "no material found with the specified URL/Name"}
}

materialID = materials[0].Config.Fingerprint
}

response, err := client.GetMaterialUsage(materialID)
if err != nil {
return err
}
Expand All @@ -176,6 +202,8 @@ func getMaterialUsageCommand() *cobra.Command {
}

registerRawFlags(getAgentProfilesUsageCmd)
getAgentProfilesUsageCmd.PersistentFlags().BoolVarP(&fetchID, "fetch-id", "", false,
"when enabled tries to fetch the ID of the material to get the usages. Do not set this flag if ID is passed")

return getAgentProfilesUsageCmd
}
Expand All @@ -184,9 +212,29 @@ func triggerMaterialUpdateCommand() *cobra.Command {
triggerMaterialUpdateCmd := &cobra.Command{
Use: "trigger-update",
Short: "Command to trigger update on the specified material",
Args: cobra.NoArgs,
Example: "gocd-cli materials trigger-update https://github.com/nikhilsbhat/helm-drift.git --fetch-id",
Args: cobra.RangeArgs(1, 1),
PreRunE: setCLIClient,
RunE: func(cmd *cobra.Command, args []string) error {
materialID = args[0]

if fetchID {
materials, err := client.GetMaterials()
if err != nil {
return err
}

materials = funk.Filter(materials, func(material gocd.Material) bool {
return funk.Contains(material.Config.Attributes.URL, args[0])
}).([]gocd.Material)

if len(materials) == 0 {
return &errors.MaterialError{Message: "no material found with the specified URL/Name"}
}

materialID = materials[0].Config.Fingerprint
}

response, err := client.MaterialTriggerUpdate(materialID)
if err != nil {
return err
Expand All @@ -196,14 +244,8 @@ func triggerMaterialUpdateCommand() *cobra.Command {
},
}

triggerMaterialUpdateCmd.PersistentFlags().StringVarP(&materialName, "name", "", "",
"name of the material for which the update needs to be triggered")
triggerMaterialUpdateCmd.PersistentFlags().StringVarP(&materialID, "id", "", "",
"ID of the material for which the update needs to be triggered")

if err := triggerMaterialUpdateCmd.MarkPersistentFlagRequired("id"); err != nil {
cliLogger.Fatalf("%v", err)
}
triggerMaterialUpdateCmd.PersistentFlags().BoolVarP(&fetchID, "fetch-id", "", false,
"when enabled tries to fetch the ID of the material to get trigger the updates of them. Do not set this flag if ID is passed")

return triggerMaterialUpdateCmd
}
2 changes: 1 addition & 1 deletion docs/doc/gocd-cli.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,4 +54,4 @@ gocd-cli [flags]
* [gocd-cli version](gocd-cli_version.md) - Command to fetch the version of gocd-cli installed
* [gocd-cli who-am-i](gocd-cli_who-am-i.md) - Command to check which user being used by GoCD Command line interface

###### Auto generated by spf13/cobra on 10-Aug-2023
###### Auto generated by spf13/cobra on 11-Sep-2023
2 changes: 1 addition & 1 deletion docs/doc/gocd-cli_agents.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,4 +47,4 @@ gocd-cli agents [flags]
* [gocd-cli agents list](gocd-cli_agents_list.md) - Command to LIST all the agents present in GoCD [https://api.gocd.org/current/#get-all-agents]
* [gocd-cli agents update](gocd-cli_agents_update.md) - Command to UPDATE an agent with all specified configuration [https://api.gocd.org/current/#update-an-agent]

###### Auto generated by spf13/cobra on 1-Jul-2023
###### Auto generated by spf13/cobra on 11-Sep-2023
2 changes: 1 addition & 1 deletion docs/doc/gocd-cli_agents_delete.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,4 @@ gocd-cli agents delete --id 938d1935-bdca-4728-83d5-e96cbf0a4f8b

* [gocd-cli agents](gocd-cli_agents.md) - Command to operate on agents present in GoCD [https://api.gocd.org/current/#agents]

###### Auto generated by spf13/cobra on 1-Jul-2023
###### Auto generated by spf13/cobra on 11-Sep-2023
2 changes: 1 addition & 1 deletion docs/doc/gocd-cli_agents_get-all.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,4 @@ gocd-cli agents get-all [flags]

* [gocd-cli agents](gocd-cli_agents.md) - Command to operate on agents present in GoCD [https://api.gocd.org/current/#agents]

###### Auto generated by spf13/cobra on 1-Jul-2023
###### Auto generated by spf13/cobra on 11-Sep-2023
2 changes: 1 addition & 1 deletion docs/doc/gocd-cli_agents_get.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,4 @@ gocd-cli agents get --id 938d1935-bdca-4728-83d5-e96cbf0a4f8b

* [gocd-cli agents](gocd-cli_agents.md) - Command to operate on agents present in GoCD [https://api.gocd.org/current/#agents]

###### Auto generated by spf13/cobra on 1-Jul-2023
###### Auto generated by spf13/cobra on 11-Sep-2023
2 changes: 1 addition & 1 deletion docs/doc/gocd-cli_agents_job-history.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,4 @@ gocd-cli agents job-history --id 938d1935-bdca-4728-83d5-e96cbf0a4f8b

* [gocd-cli agents](gocd-cli_agents.md) - Command to operate on agents present in GoCD [https://api.gocd.org/current/#agents]

###### Auto generated by spf13/cobra on 1-Jul-2023
###### Auto generated by spf13/cobra on 11-Sep-2023
2 changes: 1 addition & 1 deletion docs/doc/gocd-cli_agents_kill-task.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,4 @@ gocd-cli agents kill-task --id 938d1935-bdca-4728-83d5-e96cbf0a4f8b

* [gocd-cli agents](gocd-cli_agents.md) - Command to operate on agents present in GoCD [https://api.gocd.org/current/#agents]

###### Auto generated by spf13/cobra on 1-Jul-2023
###### Auto generated by spf13/cobra on 11-Sep-2023
2 changes: 1 addition & 1 deletion docs/doc/gocd-cli_agents_list.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,4 @@ gocd-cli agents list [flags]

* [gocd-cli agents](gocd-cli_agents.md) - Command to operate on agents present in GoCD [https://api.gocd.org/current/#agents]

###### Auto generated by spf13/cobra on 1-Jul-2023
###### Auto generated by spf13/cobra on 11-Sep-2023
2 changes: 1 addition & 1 deletion docs/doc/gocd-cli_agents_update.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,4 @@ gocd-cli agents update [flags]

* [gocd-cli agents](gocd-cli_agents.md) - Command to operate on agents present in GoCD [https://api.gocd.org/current/#agents]

###### Auto generated by spf13/cobra on 1-Jul-2023
###### Auto generated by spf13/cobra on 11-Sep-2023
2 changes: 1 addition & 1 deletion docs/doc/gocd-cli_artifact.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,4 +50,4 @@ gocd-cli artifact [flags]
* [gocd-cli artifact update-config](gocd-cli_artifact_update-config.md) - Command to UPDATE artifact config specified configurations in GoCD [https://api.gocd.org/current/#update-artifacts-config]
* [gocd-cli artifact update-store](gocd-cli_artifact_update-store.md) - Command to UPDATE an artifact store with all specified configurations in GoCD [https://api.gocd.org/current/#update-an-artifact-store]

###### Auto generated by spf13/cobra on 1-Jul-2023
###### Auto generated by spf13/cobra on 11-Sep-2023
2 changes: 1 addition & 1 deletion docs/doc/gocd-cli_artifact_create-store.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,4 @@ gocd-cli artifact create-store [flags]

* [gocd-cli artifact](gocd-cli_artifact.md) - Command to operate on artifacts store/config present in GoCD

###### Auto generated by spf13/cobra on 1-Jul-2023
###### Auto generated by spf13/cobra on 11-Sep-2023
2 changes: 1 addition & 1 deletion docs/doc/gocd-cli_artifact_delete-store.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,4 @@ gocd-cli artifact delete-store [flags]

* [gocd-cli artifact](gocd-cli_artifact.md) - Command to operate on artifacts store/config present in GoCD

###### Auto generated by spf13/cobra on 1-Jul-2023
###### Auto generated by spf13/cobra on 11-Sep-2023
2 changes: 1 addition & 1 deletion docs/doc/gocd-cli_artifact_get-all-stores.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,4 @@ gocd-cli artifact get-all-stores [flags]

* [gocd-cli artifact](gocd-cli_artifact.md) - Command to operate on artifacts store/config present in GoCD

###### Auto generated by spf13/cobra on 1-Jul-2023
###### Auto generated by spf13/cobra on 11-Sep-2023
2 changes: 1 addition & 1 deletion docs/doc/gocd-cli_artifact_get-config.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,4 @@ gocd-cli artifact get-config [flags]

* [gocd-cli artifact](gocd-cli_artifact.md) - Command to operate on artifacts store/config present in GoCD

###### Auto generated by spf13/cobra on 1-Jul-2023
###### Auto generated by spf13/cobra on 11-Sep-2023
2 changes: 1 addition & 1 deletion docs/doc/gocd-cli_artifact_get-store.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,4 @@ gocd-cli artifact get-store [flags]

* [gocd-cli artifact](gocd-cli_artifact.md) - Command to operate on artifacts store/config present in GoCD

###### Auto generated by spf13/cobra on 1-Jul-2023
###### Auto generated by spf13/cobra on 11-Sep-2023
2 changes: 1 addition & 1 deletion docs/doc/gocd-cli_artifact_job-history.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,4 @@ gocd-cli agents job-history --id 938d1935-bdca-4728-83d5-e96cbf0a4f8b

* [gocd-cli artifact](gocd-cli_artifact.md) - Command to operate on artifacts store/config present in GoCD

###### Auto generated by spf13/cobra on 17-Jul-2023
###### Auto generated by spf13/cobra on 11-Sep-2023
2 changes: 1 addition & 1 deletion docs/doc/gocd-cli_artifact_kill-task.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,4 @@ gocd-cli agents kill-task --id 938d1935-bdca-4728-83d5-e96cbf0a4f8b

* [gocd-cli artifact](gocd-cli_artifact.md) - Command to operate on artifacts store/config present in GoCD

###### Auto generated by spf13/cobra on 17-Jul-2023
###### Auto generated by spf13/cobra on 11-Sep-2023
2 changes: 1 addition & 1 deletion docs/doc/gocd-cli_artifact_list-store.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,4 @@ gocd-cli artifact list-store [flags]

* [gocd-cli artifact](gocd-cli_artifact.md) - Command to operate on artifacts store/config present in GoCD

###### Auto generated by spf13/cobra on 1-Jul-2023
###### Auto generated by spf13/cobra on 11-Sep-2023
2 changes: 1 addition & 1 deletion docs/doc/gocd-cli_artifact_update-config.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,4 @@ gocd-cli artifact update-config [flags]

* [gocd-cli artifact](gocd-cli_artifact.md) - Command to operate on artifacts store/config present in GoCD

###### Auto generated by spf13/cobra on 1-Jul-2023
###### Auto generated by spf13/cobra on 11-Sep-2023
2 changes: 1 addition & 1 deletion docs/doc/gocd-cli_artifact_update-store.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,4 @@ gocd-cli artifact update-store [flags]

* [gocd-cli artifact](gocd-cli_artifact.md) - Command to operate on artifacts store/config present in GoCD

###### Auto generated by spf13/cobra on 1-Jul-2023
###### Auto generated by spf13/cobra on 11-Sep-2023
2 changes: 1 addition & 1 deletion docs/doc/gocd-cli_auth-config.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,4 @@ gocd-cli auth-config [flags]
* [gocd-cli auth-config remove](gocd-cli_auth-config_remove.md) - Command to remove the cached GoCD authorization configuration that is used by the cli.
* [gocd-cli auth-config store](gocd-cli_auth-config_store.md) - Command to cache the GoCD authorization configuration to be used by the cli

###### Auto generated by spf13/cobra on 1-Jul-2023
###### Auto generated by spf13/cobra on 11-Sep-2023
2 changes: 1 addition & 1 deletion docs/doc/gocd-cli_auth-config_remove.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,4 @@ gocd-cli auth-config remove [flags]

* [gocd-cli auth-config](gocd-cli_auth-config.md) - Command to store/remove the authorization configuration to be used by the cli

###### Auto generated by spf13/cobra on 1-Jul-2023
###### Auto generated by spf13/cobra on 11-Sep-2023
2 changes: 1 addition & 1 deletion docs/doc/gocd-cli_auth-config_store.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,4 @@ gocd-cli auth-config store [flags]

* [gocd-cli auth-config](gocd-cli_auth-config.md) - Command to store/remove the authorization configuration to be used by the cli

###### Auto generated by spf13/cobra on 1-Jul-2023
###### Auto generated by spf13/cobra on 11-Sep-2023
2 changes: 1 addition & 1 deletion docs/doc/gocd-cli_backup.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,4 +47,4 @@ gocd-cli backup [flags]
* [gocd-cli backup schedule](gocd-cli_backup_schedule.md) - Command to SCHEDULE backups in GoCD [https://api.gocd.org/current/#schedule-backup]
* [gocd-cli backup stats](gocd-cli_backup_stats.md) - Command to GET stats of the specific backup taken in GoCD [https://api.gocd.org/current/#get-backup]

###### Auto generated by spf13/cobra on 1-Jul-2023
###### Auto generated by spf13/cobra on 11-Sep-2023
2 changes: 1 addition & 1 deletion docs/doc/gocd-cli_backup_create-config.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,4 @@ gocd-cli backup create-config [flags]

* [gocd-cli backup](gocd-cli_backup.md) - Command to operate on backup in GoCD [https://api.gocd.org/current/#backups]

###### Auto generated by spf13/cobra on 1-Jul-2023
###### Auto generated by spf13/cobra on 11-Sep-2023
2 changes: 1 addition & 1 deletion docs/doc/gocd-cli_backup_delete-config.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,4 @@ gocd-cli backup delete-config [flags]

* [gocd-cli backup](gocd-cli_backup.md) - Command to operate on backup in GoCD [https://api.gocd.org/current/#backups]

###### Auto generated by spf13/cobra on 1-Jul-2023
###### Auto generated by spf13/cobra on 11-Sep-2023
2 changes: 1 addition & 1 deletion docs/doc/gocd-cli_backup_get-config.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,4 @@ gocd-cli backup get-config [flags]

* [gocd-cli backup](gocd-cli_backup.md) - Command to operate on backup in GoCD [https://api.gocd.org/current/#backups]

###### Auto generated by spf13/cobra on 1-Jul-2023
###### Auto generated by spf13/cobra on 11-Sep-2023
2 changes: 1 addition & 1 deletion docs/doc/gocd-cli_backup_schedule.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,4 @@ gocd-cli backup schedule [flags]

* [gocd-cli backup](gocd-cli_backup.md) - Command to operate on backup in GoCD [https://api.gocd.org/current/#backups]

###### Auto generated by spf13/cobra on 1-Jul-2023
###### Auto generated by spf13/cobra on 11-Sep-2023
2 changes: 1 addition & 1 deletion docs/doc/gocd-cli_backup_stats.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,4 @@ gocd-cli backup stats [flags]

* [gocd-cli backup](gocd-cli_backup.md) - Command to operate on backup in GoCD [https://api.gocd.org/current/#backups]

###### Auto generated by spf13/cobra on 1-Jul-2023
###### Auto generated by spf13/cobra on 11-Sep-2023
2 changes: 1 addition & 1 deletion docs/doc/gocd-cli_cluster-profile.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,4 +46,4 @@ gocd-cli cluster-profile [flags]
* [gocd-cli cluster-profile list](gocd-cli_cluster-profile_list.md) - Command to LIST all cluster profiles present in GoCD [https://api.gocd.org/current/#get-all-cluster-profiles]
* [gocd-cli cluster-profile update](gocd-cli_cluster-profile_update.md) - Command to UPDATE a cluster profile with all specified configurations in GoCD [https://api.gocd.org/current/#update-a-cluster-profile]

###### Auto generated by spf13/cobra on 1-Jul-2023
###### Auto generated by spf13/cobra on 11-Sep-2023
2 changes: 1 addition & 1 deletion docs/doc/gocd-cli_cluster-profile_create.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,4 @@ gocd-cli cluster-profile create [flags]

* [gocd-cli cluster-profile](gocd-cli_cluster-profile.md) - Command to operate on cluster-profile present in GoCD [https://api.gocd.org/current/#cluster-profiles]

###### Auto generated by spf13/cobra on 1-Jul-2023
###### Auto generated by spf13/cobra on 11-Sep-2023
2 changes: 1 addition & 1 deletion docs/doc/gocd-cli_cluster-profile_delete.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,4 @@ gocd-cli cluster-profile delete [flags]

* [gocd-cli cluster-profile](gocd-cli_cluster-profile.md) - Command to operate on cluster-profile present in GoCD [https://api.gocd.org/current/#cluster-profiles]

###### Auto generated by spf13/cobra on 1-Jul-2023
###### Auto generated by spf13/cobra on 11-Sep-2023
2 changes: 1 addition & 1 deletion docs/doc/gocd-cli_cluster-profile_get-all.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,4 @@ gocd-cli cluster-profile get-all [flags]

* [gocd-cli cluster-profile](gocd-cli_cluster-profile.md) - Command to operate on cluster-profile present in GoCD [https://api.gocd.org/current/#cluster-profiles]

###### Auto generated by spf13/cobra on 1-Jul-2023
###### Auto generated by spf13/cobra on 11-Sep-2023
2 changes: 1 addition & 1 deletion docs/doc/gocd-cli_cluster-profile_get.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,4 @@ gocd-cli cluster-profile get [flags]

* [gocd-cli cluster-profile](gocd-cli_cluster-profile.md) - Command to operate on cluster-profile present in GoCD [https://api.gocd.org/current/#cluster-profiles]

###### Auto generated by spf13/cobra on 1-Jul-2023
###### Auto generated by spf13/cobra on 11-Sep-2023
2 changes: 1 addition & 1 deletion docs/doc/gocd-cli_cluster-profile_list.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,4 @@ gocd-cli cluster-profile list [flags]

* [gocd-cli cluster-profile](gocd-cli_cluster-profile.md) - Command to operate on cluster-profile present in GoCD [https://api.gocd.org/current/#cluster-profiles]

###### Auto generated by spf13/cobra on 1-Jul-2023
###### Auto generated by spf13/cobra on 11-Sep-2023
2 changes: 1 addition & 1 deletion docs/doc/gocd-cli_cluster-profile_update.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,4 @@ gocd-cli cluster-profile update [flags]

* [gocd-cli cluster-profile](gocd-cli_cluster-profile.md) - Command to operate on cluster-profile present in GoCD [https://api.gocd.org/current/#cluster-profiles]

###### Auto generated by spf13/cobra on 1-Jul-2023
###### Auto generated by spf13/cobra on 11-Sep-2023
2 changes: 1 addition & 1 deletion docs/doc/gocd-cli_configrepo.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,4 +51,4 @@ gocd-cli configrepo [flags]
* [gocd-cli configrepo trigger-update](gocd-cli_configrepo_trigger-update.md) - Command to TRIGGER the update for config-repo to get latest revisions [https://api.gocd.org/current/#trigger-update-of-config-repository]
* [gocd-cli configrepo update](gocd-cli_configrepo_update.md) - Command to UPDATE the config-repo present in GoCD [https://api.gocd.org/current/#update-config-repo]

###### Auto generated by spf13/cobra on 17-Jul-2023
###### Auto generated by spf13/cobra on 11-Sep-2023
2 changes: 1 addition & 1 deletion docs/doc/gocd-cli_configrepo_create.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,4 @@ gocd-cli configrepo create [flags]

* [gocd-cli configrepo](gocd-cli_configrepo.md) - Command to operate on configrepo present in GoCD [https://api.gocd.org/current/#config-repo]

###### Auto generated by spf13/cobra on 1-Jul-2023
###### Auto generated by spf13/cobra on 11-Sep-2023
2 changes: 1 addition & 1 deletion docs/doc/gocd-cli_configrepo_delete.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,4 @@ gocd-cli configrepo delete [flags]

* [gocd-cli configrepo](gocd-cli_configrepo.md) - Command to operate on configrepo present in GoCD [https://api.gocd.org/current/#config-repo]

###### Auto generated by spf13/cobra on 1-Jul-2023
###### Auto generated by spf13/cobra on 11-Sep-2023
2 changes: 1 addition & 1 deletion docs/doc/gocd-cli_configrepo_get-all.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,4 @@ gocd-cli configrepo get-all [flags]

* [gocd-cli configrepo](gocd-cli_configrepo.md) - Command to operate on configrepo present in GoCD [https://api.gocd.org/current/#config-repo]

###### Auto generated by spf13/cobra on 1-Jul-2023
###### Auto generated by spf13/cobra on 11-Sep-2023
Loading

0 comments on commit 669f3e5

Please sign in to comment.