Skip to content

Commit 1ae2409

Browse files
committed
Update binary to devcontainerx
1 parent 7b535df commit 1ae2409

File tree

13 files changed

+13
-12
lines changed

13 files changed

+13
-12
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
/devcontainer
2+
/devcontainerx
23
/dist

.goreleaser.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
builds:
22
- env:
33
- CGO_ENABLED=0
4-
binary: devcontainer
4+
binary: devcontainerx
55
goos:
66
- linux
77
- darwin
88
- windows
99
goarch:
1010
- 386
1111
- amd64
12-
main: ./cmd/devcontainer/
12+
main: ./cmd/devcontainerx/
1313
ldflags:
1414
- -s -w -X main.version={{.Version}} -X main.commit={{.ShortCommit}} -X main.date={{.Date}} -X "main.goversion={{.Env.GOVERSION}}"
1515

@@ -29,9 +29,9 @@ brews:
2929
homepage: https://github.com/stuartleeks/devcontainer-cli
3030
description: CLI for working with Visual Studio Code devcontainers
3131
install: |
32-
bin.install "devcontainer"
32+
bin.install "devcontainerx"
3333
test: |
34-
system "#{bin}/devcontainer --version"
34+
system "#{bin}/devcontainerx --version"
3535
3636
changelog:
3737
sort: asc

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ help: ## show this help
66

77

88
build: fmt ## Build devcontainer cli
9-
go build ./cmd/devcontainer
9+
go build ./cmd/devcontainerx
1010

1111
lint: build ## Build and lint
1212
golangci-lint run
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,18 +14,18 @@ func createCompleteCommand(rootCmd *cobra.Command) *cobra.Command {
1414
Short: "Generates bash completion scripts",
1515
Long: `To load completion run
1616
17-
. <(devcontainer completion SHELL)
17+
. <(devcontainerx completion SHELL)
1818
1919
Valid values for SHELL are : bash, fish, powershell, zsh
2020
2121
For example, to configure your bash shell to load completions for each session add to your bashrc
2222
2323
# ~/.bashrc or ~/.profile
24-
source <(devcontainer completion)
24+
source <(devcontainerx completion)
2525
2626
# if you want to alias the CLI:
27-
alias dc=devcontainer
28-
source <(devcontainer completion bash | sed s/devcontainer/dc/g)
27+
alias dcx=devcontainerx
28+
source <(devcontainerx completion bash | sed s/devcontainerx/dcx/g)
2929
3030
`,
3131
PersistentPreRun: func(cmd *cobra.Command, args []string) {
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ var (
1717
func main() {
1818

1919
rootCmd := &cobra.Command{
20-
Use: "devcontainer",
20+
Use: "devcontainerx",
2121
PersistentPreRun: func(cmd *cobra.Command, args []string) {
2222
update.PeriodicCheckForUpdate(version)
2323
},

0 commit comments

Comments
 (0)