Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions pkg/cmd/tenant/variables/list/list.go
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,8 @@ func NewCmdList(f factory.Factory) *cobra.Command {
Short: "List tenant variables",
Long: "List tenant variables in Octopus Deploy",
Example: heredoc.Docf(`
$ %[1]s tenant variable list
$ %[1]s tenant variable ls
$ %[1]s tenant variables list "Bobs Wood Shop"
$ %[1]s tenant variables ls Tenant-123
`, constants.ExecutableName),
Aliases: []string{"ls"},
RunE: func(cmd *cobra.Command, args []string) error {
Expand Down
6 changes: 3 additions & 3 deletions pkg/cmd/tenant/variables/update/update.go
Original file line number Diff line number Diff line change
Expand Up @@ -99,9 +99,9 @@ func NewCmdUpdate(f factory.Factory) *cobra.Command {
Short: "Update the value of a tenant variable",
Long: "Update the value of a tenant variable in Octopus Deploy",
Example: heredoc.Docf(`
$ %[1]s tenant variable update
$ %[1]s tenant variable update --tenant "Bobs Fish Shack" --name "site-name" --value "Bob's Fish Shack" --project "Awesome Web Site" --environment "Test"
$ %[1]s tenant variable update --tenant "Sally's Tackle Truck" --name dbPassword --value "12345" --library-variable-set "Shared Variables"
$ %[1]s tenant variables update
$ %[1]s tenant variables update --tenant "Bobs Fish Shack" --name "site-name" --value "Bob's Fish Shack" --project "Awesome Web Site" --environment "Test"
$ %[1]s tenant variables update --tenant "Sally's Tackle Truck" --name dbPassword --value "12345" --library-variable-set "Shared Variables"
`, constants.ExecutableName),
RunE: func(c *cobra.Command, args []string) error {
opts := NewUpdateOptions(updateFlags, cmd.NewDependencies(f, c))
Expand Down
4 changes: 2 additions & 2 deletions pkg/cmd/tenant/variables/variables.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ func NewCmdVariables(f factory.Factory) *cobra.Command {
Short: "Manage tenant variables",
Long: "Manage tenant variables in Octopus Deploy",
Example: heredoc.Docf(`
$ %[1]s tenant variables list --tenant "Bobs Wood Shop"
$ %[1]s tenant variables view --name "DatabaseName" --tenant "Bobs Wood Shop"
$ %[1]s tenant variables list "Bobs Wood Shop"
$ %[1]s tenant variables update --tenant "Bobs Fish Shack" --name "site-name" --value "Bob's Fish Shack" --project "Awesome Web Site" --environment "Test"
`, constants.ExecutableName),
Annotations: map[string]string{
annotations.IsCore: "true",
Expand Down