Skip to content

Commit 0250099

Browse files
committed
Remove $ sign
1 parent e13ec5a commit 0250099

178 files changed

Lines changed: 412 additions & 371 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -327,7 +327,7 @@ func NewCmdCreate(f factory.Factory) *cobra.Command {
327327
Use: "create",
328328
Short: "Create an account",
329329
Long: "Create an account in Octopus Deploy",
330-
Example: heredoc.Docf("$ %s account create", constants.ExecutableName),
330+
Example: heredoc.Docf("%s account create", constants.ExecutableName),
331331
RunE: func(cmd *cobra.Command, args []string) error {
332332
return nil // TODO
333333
},

pkg/cmd/account/account.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ func NewCmdAccount(f factory.Factory) *cobra.Command {
2424
Use: "account <command>",
2525
Short: "Manage accounts",
2626
Long: "Manage accounts in Octopus Deploy",
27-
Example: heredoc.Docf("$ %s account list", constants.ExecutableName),
27+
Example: heredoc.Docf("%s account list", constants.ExecutableName),
2828
Annotations: map[string]string{
2929
annotations.IsInfrastructure: "true",
3030
},

pkg/cmd/account/aws/aws.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ func NewCmdAws(f factory.Factory) *cobra.Command {
1414
Use: "aws <command>",
1515
Short: "Manage AWS accounts",
1616
Long: "Manage AWS accounts in Octopus Deploy",
17-
Example: heredoc.Docf("$ %s account aws list", constants.ExecutableName),
17+
Example: heredoc.Docf("%s account aws list", constants.ExecutableName),
1818
}
1919

2020
cmd.AddCommand(cmdList.NewCmdList(f))

pkg/cmd/account/aws/create/create.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,10 @@ package create
22

33
import (
44
"fmt"
5-
"github.com/OctopusDeploy/cli/pkg/cmd"
65
"os"
76

7+
"github.com/OctopusDeploy/cli/pkg/cmd"
8+
89
"github.com/OctopusDeploy/cli/pkg/util"
910
"github.com/OctopusDeploy/go-octopusdeploy/v2/pkg/environments"
1011

@@ -67,7 +68,7 @@ func NewCmdCreate(f factory.Factory) *cobra.Command {
6768
Use: "create",
6869
Short: "Create an AWS account",
6970
Long: "Create an AWS account in Octopus Deploy",
70-
Example: heredoc.Docf("$ %s account aws create", constants.ExecutableName),
71+
Example: heredoc.Docf("%s account aws create", constants.ExecutableName),
7172
Aliases: []string{"new"},
7273
RunE: func(c *cobra.Command, _ []string) error {
7374
opts := NewCreateOptions(createFlags, cmd.NewDependencies(f, c))

pkg/cmd/account/aws/list/list.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ func NewCmdList(f factory.Factory) *cobra.Command {
1616
Use: "list",
1717
Short: "List AWS accounts",
1818
Long: "List AWS accounts in Octopus Deploy",
19-
Example: heredoc.Docf("$ %s account aws list", constants.ExecutableName),
19+
Example: heredoc.Docf("%s account aws list", constants.ExecutableName),
2020
Aliases: []string{"ls"},
2121
RunE: func(cmd *cobra.Command, _ []string) error {
2222
client, err := f.GetSpacedClient(apiclient.NewRequester(cmd))

pkg/cmd/account/azure-oidc/azure-oidc.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ func NewCmdAzureOidc(f factory.Factory) *cobra.Command {
1414
Use: "azure-oidc <command>",
1515
Short: "Manage Azure OpenID Connect accounts",
1616
Long: "Manage Azure OpenID Connect accounts in Octopus Deploy",
17-
Example: heredoc.Docf("$ %s account azure-oidc list", constants.ExecutableName),
17+
Example: heredoc.Docf("%s account azure-oidc list", constants.ExecutableName),
1818
}
1919

2020
cmd.AddCommand(cmdList.NewCmdList(f))

pkg/cmd/account/azure-oidc/create/create.go

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,12 @@ package create
22

33
import (
44
"fmt"
5+
"os"
6+
"strings"
7+
58
"github.com/OctopusDeploy/cli/pkg/cmd"
69
"github.com/OctopusDeploy/cli/pkg/cmd/account/shared"
710
"github.com/OctopusDeploy/cli/pkg/question"
8-
"os"
9-
"strings"
1011

1112
"github.com/OctopusDeploy/cli/pkg/util"
1213
"github.com/OctopusDeploy/go-octopusdeploy/v2/pkg/environments"
@@ -84,7 +85,7 @@ func NewCmdCreate(f factory.Factory) *cobra.Command {
8485
Use: "create",
8586
Short: "Create an Azure OpenID Connect account",
8687
Long: "Create an Azure OpenID Connect account in Octopus Deploy",
87-
Example: heredoc.Docf("$ %s account azure-oidc create", constants.ExecutableName),
88+
Example: heredoc.Docf("%s account azure-oidc create", constants.ExecutableName),
8889
Aliases: []string{"new"},
8990
RunE: func(c *cobra.Command, _ []string) error {
9091
opts := NewCreateOptions(createFlags, cmd.NewDependencies(f, c))

pkg/cmd/account/azure-oidc/list/list.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ func NewCmdList(f factory.Factory) *cobra.Command {
1616
Use: "list",
1717
Short: "List Azure OpenID Connect accounts",
1818
Long: "List Azure OpenID Connect accounts in Octopus Deploy",
19-
Example: heredoc.Docf("$ %s account azure-oidc list", constants.ExecutableName),
19+
Example: heredoc.Docf("%s account azure-oidc list", constants.ExecutableName),
2020
Aliases: []string{"ls"},
2121
RunE: func(cmd *cobra.Command, args []string) error {
2222
client, err := f.GetSpacedClient(apiclient.NewRequester(cmd))

pkg/cmd/account/azure/azure.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ func NewCmdAzure(f factory.Factory) *cobra.Command {
1414
Use: "azure <command>",
1515
Short: "Manage Azure subscription accounts",
1616
Long: "Manage Azure subscription accounts in Octopus Deploy",
17-
Example: heredoc.Docf("$ %s account azure list", constants.ExecutableName),
17+
Example: heredoc.Docf("%s account azure list", constants.ExecutableName),
1818
}
1919

2020
cmd.AddCommand(cmdList.NewCmdList(f))

pkg/cmd/account/azure/create/create.go

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,12 @@ package create
22

33
import (
44
"fmt"
5-
"github.com/OctopusDeploy/cli/pkg/cmd"
6-
"github.com/OctopusDeploy/cli/pkg/cmd/account/shared"
75
"os"
86
"strings"
97

8+
"github.com/OctopusDeploy/cli/pkg/cmd"
9+
"github.com/OctopusDeploy/cli/pkg/cmd/account/shared"
10+
1011
"github.com/OctopusDeploy/cli/pkg/util"
1112
"github.com/OctopusDeploy/go-octopusdeploy/v2/pkg/environments"
1213

@@ -78,7 +79,7 @@ func NewCmdCreate(f factory.Factory) *cobra.Command {
7879
Use: "create",
7980
Short: "Create an Azure subscription account",
8081
Long: "Create an Azure subscription account in Octopus Deploy",
81-
Example: heredoc.Docf("$ %s account azure create", constants.ExecutableName),
82+
Example: heredoc.Docf("%s account azure create", constants.ExecutableName),
8283
Aliases: []string{"new"},
8384
RunE: func(c *cobra.Command, _ []string) error {
8485
opts := NewCreateOptions(createFlags, cmd.NewDependencies(f, c))

0 commit comments

Comments
 (0)