Skip to content

Commit f882a44

Browse files
committed
Rename to gotoaws
1 parent 4c78568 commit f882a44

16 files changed

+71
-71
lines changed

.goreleaser.yml

+19-19
Original file line numberDiff line numberDiff line change
@@ -45,36 +45,36 @@ changelog:
4545
brews:
4646
- tap:
4747
owner: hupe1980
48-
name: homebrew-awsconnect
49-
homepage: https://github.com/hupe1980/awsconnect
50-
description: awsconnect is an interactive CLI tool that you can use to connect to your AWS resources (EC2, ECS container) using the AWS Systems Manager Session Manager
48+
name: homebrew-gotoaws
49+
homepage: https://github.com/hupe1980/gotoaws
50+
description: gotoaws is an interactive CLI tool that you can use to connect to your AWS resources (EC2, ECS container) using the AWS Systems Manager Session Manager
5151
license: MIT
5252
test: |
53-
system "#{bin}/awsconnect -v"
53+
system "#{bin}/gotoaws -v"
5454
install: |-
55-
bin.install "awsconnect"
56-
bash_completion.install "completions/awsconnect.bash" => "awsconnect"
57-
zsh_completion.install "completions/awsconnect.zsh" => "_awsconnect"
58-
fish_completion.install "completions/awsconnect.fish"
55+
bin.install "gotoaws"
56+
bash_completion.install "completions/gotoaws.bash" => "gotoaws"
57+
zsh_completion.install "completions/gotoaws.zsh" => "_gotoaws"
58+
fish_completion.install "completions/gotoaws.fish"
5959
scoop:
6060
bucket:
6161
owner: hupe1980
62-
name: awsconnect-bucket
63-
homepage: https://github.com/hupe1980/awsconnect
64-
description: awsconnect is an interactive CLI tool that you can use to connect to your AWS resources (EC2, ECS container) using the AWS Systems Manager Session Manager
62+
name: gotoaws-bucket
63+
homepage: https://github.com/hupe1980/gotoaws
64+
description: gotoaws is an interactive CLI tool that you can use to connect to your AWS resources (EC2, ECS container) using the AWS Systems Manager Session Manager
6565
license: MIT
6666
nfpms:
6767
- file_name_template: '{{ .ProjectName }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}'
68-
homepage: https://github.com/hupe1980/awsconnect
69-
description: awsconnect is an interactive CLI tool that you can use to connect to your AWS resources (EC2, ECS container) using the AWS Systems Manager Session Manager
68+
homepage: https://github.com/hupe1980/gotoaws
69+
description: gotoaws is an interactive CLI tool that you can use to connect to your AWS resources (EC2, ECS container) using the AWS Systems Manager Session Manager
7070
license: MIT
7171
contents:
72-
- src: ./completions/awsconnect.bash
73-
dst: /etc/bash_completion.d/awsconnect
74-
- src: ./completions/awsconnect.fish
75-
dst: /usr/share/fish/completions/awsconnect.fish
76-
- src: ./completions/awsconnect.zsh
77-
dst: /usr/local/share/zsh/site-functions/_awsconnect
72+
- src: ./completions/gotoaws.bash
73+
dst: /etc/bash_completion.d/gotoaws
74+
- src: ./completions/gotoaws.fish
75+
dst: /usr/share/fish/completions/gotoaws.fish
76+
- src: ./completions/gotoaws.zsh
77+
dst: /usr/local/share/zsh/site-functions/_gotoaws
7878
formats:
7979
- apk
8080
- deb

Makefile

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ test:
1515
go test -v -race -count=1 ./...
1616

1717
.PHONY: build
18-
## build: Builds a beta version of awsconnect
18+
## build: Builds a beta version of gotoaws
1919
build:
2020
go build -o dist/
2121

@@ -24,7 +24,7 @@ build:
2424
ci: build test
2525

2626
.PHONY: run
27-
## run: Runs awsconnect
27+
## run: Runs gotoaws
2828
run:
2929
go run main.go ec2 run -c "cat /etc/passwd"
3030

README.md

+29-29
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
# awsconnect
2-
awsconnect is an interactive CLI tool that you can use to connect to your AWS resources (EC2, ECS container) using the [AWS Systems Manager Session Manager](https://docs.aws.amazon.com/systems-manager/latest/userguide/session-manager.html). It provides secure and auditable resource management without the need to open inbound ports, maintain bastion hosts, or manage SSH keys.
1+
# gotoaws
2+
gotoaws is an interactive CLI tool that you can use to connect to your AWS resources (EC2, ECS container) using the [AWS Systems Manager Session Manager](https://docs.aws.amazon.com/systems-manager/latest/userguide/session-manager.html). It provides secure and auditable resource management without the need to open inbound ports, maintain bastion hosts, or manage SSH keys.
33

44
![summry](summary.png)
55

@@ -14,49 +14,49 @@ You can install the pre-compiled binary in several different ways
1414

1515
### homebrew tap:
1616
```bash
17-
brew tap hupe1980/awsconnect
18-
brew install awsconnect
17+
brew tap hupe1980/gotoaws
18+
brew install gotoaws
1919
```
2020

2121
### scoop:
2222
```bash
23-
scoop bucket add awsconnect https://github.com/hupe1980/awsconnect-bucket.git
24-
scoop install awsconnect
23+
scoop bucket add gotoaws https://github.com/hupe1980/gotoaws-bucket.git
24+
scoop install gotoaws
2525
```
2626

2727
### deb/rpm/apk:
2828

29-
Download the .deb, .rpm or .apk from the [releases page](https://github.com/hupe1980/awsconnect/releases) and install them with the appropriate tools.
29+
Download the .deb, .rpm or .apk from the [releases page](https://github.com/hupe1980/gotoaws/releases) and install them with the appropriate tools.
3030

3131
### manually:
32-
Download the pre-compiled binaries from the [releases page](https://github.com/hupe1980/awsconnect/releases) and copy to the desired location.
32+
Download the pre-compiled binaries from the [releases page](https://github.com/hupe1980/gotoaws/releases) and copy to the desired location.
3333

3434
## How to use
3535
```
3636
Usage:
37-
awsconnect [command]
37+
gotoaws [command]
3838
3939
Available Commands:
40-
completion Prints shell autocompletion scripts for awsconnect
40+
completion Prints shell autocompletion scripts for gotoaws
4141
ec2 Connect to ec2
4242
ecs Connect to ecs
4343
help Help about any command
4444
4545
Flags:
46-
-h, --help help for awsconnect
46+
-h, --help help for gotoaws
4747
--profile string AWS profile (optional) (default "default")
4848
--region string AWS region (optional)
4949
--timeout duration timeout for network requests (default 15s)
50-
-v, --version version for awsconnect
50+
-v, --version version for gotoaws
5151
52-
Use "awsconnect [command] --help" for more information about a command.
52+
Use "gotoaws [command] --help" for more information about a command.
5353
```
5454

5555
## EC2
5656
You can connect to your instances by name, ID, DNS, IP or select an instance from a list.
5757
```
5858
Usage:
59-
awsconnect ec2 [command]
59+
gotoaws ec2 [command]
6060
6161
Available Commands:
6262
fwd Port forwarding
@@ -73,15 +73,15 @@ Global Flags:
7373
--region string AWS region (optional)
7474
--timeout duration timeout for network requests (default 15s)
7575
76-
Use "awsconnect ec2 [command] --help" for more information about a command.
76+
Use "gotoaws ec2 [command] --help" for more information about a command.
7777
```
7878
#### Start a session
7979
```
8080
Usage:
81-
awsconnect ec2 session [flags]
81+
gotoaws ec2 session [flags]
8282
8383
Examples:
84-
awsconnect ec2 session -t myserver
84+
gotoaws ec2 session -t myserver
8585
8686
Flags:
8787
-h, --help help for session
@@ -95,10 +95,10 @@ Global Flags:
9595
#### Port forwarding
9696
```
9797
Usage:
98-
awsconnect ec2 fwd [flags]
98+
gotoaws ec2 fwd [flags]
9999
100100
Examples:
101-
awsconnect fwd run -t myserver -l 8080 -r 8080
101+
gotoaws fwd run -t myserver -l 8080 -r 8080
102102
103103
Flags:
104104
-h, --help help for fwd
@@ -115,10 +115,10 @@ Global Flags:
115115
#### Run commands
116116
```
117117
Usage:
118-
awsconnect ec2 run [flags]
118+
gotoaws ec2 run [flags]
119119
120120
Examples:
121-
awsconnect ec2 run -t myserver -c 'cat /etc/passwd'
121+
gotoaws ec2 run -t myserver -c 'cat /etc/passwd'
122122
123123
Flags:
124124
-c, --cmd string command to exceute (required)
@@ -134,10 +134,10 @@ Global Flags:
134134
#### SSH over Session Manager
135135
```
136136
Usage:
137-
awsconnect ec2 ssh [command] [flags]
137+
gotoaws ec2 ssh [command] [flags]
138138
139139
Examples:
140-
awsconnect ssh -t myserver -i key.pem
140+
gotoaws ssh -t myserver -i key.pem
141141
142142
Flags:
143143
-h, --help help for ssh
@@ -156,10 +156,10 @@ Global Flags:
156156
#### SCP over Session Manager
157157
```
158158
Usage:
159-
awsconnect ec2 scp [source(s)] [target] [flags]
159+
gotoaws ec2 scp [source(s)] [target] [flags]
160160
161161
Examples:
162-
awsconnect ec2 scp file.txt /opt/ -t myserver -i key.pem
162+
gotoaws ec2 scp file.txt /opt/ -t myserver -i key.pem
163163
164164
Flags:
165165
-h, --help help for scp
@@ -180,7 +180,7 @@ You can directly interact with containers without needing to first interact with
180180

181181
```
182182
Usage:
183-
awsconnect ecs [command]
183+
gotoaws ecs [command]
184184
185185
Available Commands:
186186
exec Exec into container
@@ -193,16 +193,16 @@ Global Flags:
193193
--region string AWS region (optional)
194194
--timeout duration timeout for network requests (default 15s)
195195
196-
Use "awsconnect ecs [command] --help" for more information about a command.
196+
Use "gotoaws ecs [command] --help" for more information about a command.
197197
```
198198

199199
### Exec into container
200200
```
201201
Usage:
202-
awsconnect ecs exec [flags]
202+
gotoaws ecs exec [flags]
203203
204204
Examples:
205-
awsconnect ecs exec --cluster demo-cluster
205+
gotoaws ecs exec --cluster demo-cluster
206206
207207
Flags:
208208
--cluster string arn or name of the cluster (optional) (default "default")

cmd/completion.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import "github.com/spf13/cobra"
55
func newCompletionCmd() *cobra.Command {
66
cmd := &cobra.Command{
77
Use: "completion [bash|zsh|fish]",
8-
Short: "Prints shell autocompletion scripts for awsconnect",
8+
Short: "Prints shell autocompletion scripts for gotoaws",
99
SilenceUsage: true,
1010
DisableFlagsInUseLine: true,
1111
ValidArgs: []string{"bash", "zsh", "fish"},

cmd/exec.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ package cmd
22

33
import (
44
"github.com/aws/aws-sdk-go-v2/service/ecs"
5-
"github.com/hupe1980/awsconnect/internal"
5+
"github.com/hupe1980/gotoaws/internal"
66
"github.com/spf13/cobra"
77
)
88

@@ -20,7 +20,7 @@ func newExecCmd() *cobra.Command {
2020
Short: "Exec into container",
2121
SilenceUsage: true,
2222
SilenceErrors: true,
23-
Example: "awsconnect ecs exec --cluster demo-cluster",
23+
Example: "gotoaws ecs exec --cluster demo-cluster",
2424
RunE: func(cmd *cobra.Command, args []string) error {
2525
cfg, err := newConfig(cmd)
2626
if err != nil {

cmd/fwd.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ package cmd
22

33
import (
44
"github.com/aws/aws-sdk-go-v2/service/ssm"
5-
"github.com/hupe1980/awsconnect/internal"
5+
"github.com/hupe1980/gotoaws/internal"
66
"github.com/spf13/cobra"
77
)
88

@@ -17,7 +17,7 @@ func newFwdCmd() *cobra.Command {
1717
cmd := &cobra.Command{
1818
Use: "fwd",
1919
Short: "Port forwarding",
20-
Example: "awsconnect fwd run -t myserver -l 8080 -r 8080",
20+
Example: "gotoaws fwd run -t myserver -l 8080 -r 8080",
2121
SilenceUsage: true,
2222
SilenceErrors: true,
2323
RunE: func(cmd *cobra.Command, args []string) error {

cmd/root.go

+4-4
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import (
66
"strings"
77
"time"
88

9-
"github.com/hupe1980/awsconnect/internal"
9+
"github.com/hupe1980/gotoaws/internal"
1010
"github.com/manifoldco/promptui"
1111
"github.com/spf13/cobra"
1212
)
@@ -28,10 +28,10 @@ type rootOptions struct {
2828
func newRootCmd(version string) *cobra.Command {
2929
opts := &rootOptions{}
3030
cmd := &cobra.Command{
31-
Use: "awsconnect",
31+
Use: "gotoaws",
3232
Version: version,
33-
Short: "awsconnect is an interactive CLI tool that you can use to connect to your AWS resources (EC2, ECS container)",
34-
Long: `awsconnect is an interactive CLI tool
33+
Short: "gotoaws is an interactive CLI tool that you can use to connect to your AWS resources (EC2, ECS container)",
34+
Long: `gotoaws is an interactive CLI tool
3535
that you can use to connect to your AWS resources (EC2, ECS container)
3636
using the AWS Systems Manager Session Manager.
3737
It provides secure and auditable resource management without the need to open inbound ports,

cmd/root_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,5 +21,5 @@ func TestRootCmdVersion(t *testing.T) {
2121
cmd.SetOut(&b)
2222
cmd.SetArgs([]string{"-v"})
2323
require.NoError(t, cmd.Execute())
24-
require.Equal(t, "awsconnect version 1.2.3\n", b.String())
24+
require.Equal(t, "gotoaws version 1.2.3\n", b.String())
2525
}

cmd/run.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ package cmd
33
import (
44
"fmt"
55

6-
"github.com/hupe1980/awsconnect/internal"
6+
"github.com/hupe1980/gotoaws/internal"
77
"github.com/spf13/cobra"
88
)
99

@@ -17,7 +17,7 @@ func newRunCmd() *cobra.Command {
1717
cmd := &cobra.Command{
1818
Use: "run",
1919
Short: "Run commands",
20-
Example: "awsconnect ec2 run -t myserver -c 'cat /etc/passwd'",
20+
Example: "gotoaws ec2 run -t myserver -c 'cat /etc/passwd'",
2121
SilenceUsage: true,
2222
SilenceErrors: true,
2323
RunE: func(cmd *cobra.Command, args []string) error {

cmd/scp.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ package cmd
22

33
import (
44
"github.com/aws/aws-sdk-go-v2/service/ssm"
5-
"github.com/hupe1980/awsconnect/internal"
5+
"github.com/hupe1980/gotoaws/internal"
66
"github.com/spf13/cobra"
77
)
88

@@ -19,7 +19,7 @@ func newSCPCmd() *cobra.Command {
1919
cmd := &cobra.Command{
2020
Use: "scp [source(s)] [target]",
2121
Short: "SCP over Session Manager",
22-
Example: "awsconnect ec2 scp file.txt /opt/ -t myserver -i key.pem",
22+
Example: "gotoaws ec2 scp file.txt /opt/ -t myserver -i key.pem",
2323
SilenceUsage: true,
2424
SilenceErrors: true,
2525
Args: cobra.MinimumNArgs(2),

cmd/session.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ package cmd
22

33
import (
44
"github.com/aws/aws-sdk-go-v2/service/ssm"
5-
"github.com/hupe1980/awsconnect/internal"
5+
"github.com/hupe1980/gotoaws/internal"
66
"github.com/spf13/cobra"
77
)
88

@@ -15,7 +15,7 @@ func newSessionCmd() *cobra.Command {
1515
cmd := &cobra.Command{
1616
Use: "session",
1717
Short: "Start a session",
18-
Example: "awsconnect ec2 session -t myserver",
18+
Example: "gotoaws ec2 session -t myserver",
1919
SilenceUsage: true,
2020
SilenceErrors: true,
2121
RunE: func(cmd *cobra.Command, args []string) error {

cmd/ssh.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import (
44
"strings"
55

66
"github.com/aws/aws-sdk-go-v2/service/ssm"
7-
"github.com/hupe1980/awsconnect/internal"
7+
"github.com/hupe1980/gotoaws/internal"
88
"github.com/spf13/cobra"
99
)
1010

@@ -21,7 +21,7 @@ func newSSHCmd() *cobra.Command {
2121
cmd := &cobra.Command{
2222
Use: "ssh [command]",
2323
Short: "SSH over Session Manager",
24-
Example: "awsconnect ssh -t myserver -i key.pem",
24+
Example: "gotoaws ssh -t myserver -i key.pem",
2525
SilenceUsage: true,
2626
SilenceErrors: true,
2727
RunE: func(cmd *cobra.Command, args []string) error {

go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
module github.com/hupe1980/awsconnect
1+
module github.com/hupe1980/gotoaws
22

33
go 1.16
44

0 commit comments

Comments
 (0)