Skip to content

Commit 045735b

Browse files
author
Josh Newman
committed
ref(general): rename binary to easy-params
1 parent 993358b commit 045735b

File tree

3 files changed

+31
-31
lines changed

3 files changed

+31
-31
lines changed

.goreleaser.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ before:
22
hooks:
33
- go mod tidy
44
builds:
5-
- binary: ezparams
5+
- binary: easy-params
66
env:
77
- CGO_ENABLED=0
88
ldflags:
@@ -15,20 +15,20 @@ archives:
1515
386: i386
1616
amd64: x86_64
1717
checksum:
18-
name_template: 'checksums.txt'
18+
name_template: "checksums.txt"
1919
snapshot:
20-
name_template: '{{ .Tag }}-next'
20+
name_template: "{{ .Tag }}-next"
2121
changelog:
2222
sort: asc
2323
filters:
2424
exclude:
25-
- '^docs:'
26-
- '^test:'
25+
- "^docs:"
26+
- "^test:"
2727
brews:
2828
- github:
2929
owner: technicallyjosh
3030
name: homebrew-easy-params
3131
description: Opinionated CLI for easy management of SSM Parameters.
3232
homepage: https://github.com/technicallyjosh/easy-params
3333
test: |
34-
system "#{bin}/ezparams --version"
34+
system "#{bin}/easy-params --version"

README.md

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,12 @@ $ brew install easy-params
2828
## CLI
2929

3030
```console
31-
$ ezparams
31+
$ easy-params
3232
An easy AWS Parameter Store CLI
3333

3434
Usage:
35-
ezparams [flags]
36-
ezparams [command]
35+
easy-params [flags]
36+
easy-params [command]
3737

3838
Available Commands:
3939
diff Shows the difference recursively between 2 paths.
@@ -46,14 +46,14 @@ Available Commands:
4646
rm Remove parameter(s) by path
4747

4848
Flags:
49-
--config string config file (default is $HOME/.ezparams.yaml)
50-
-h, --help help for ezparams
49+
--config string config file (default is $HOME/.easy-params.yaml)
50+
-h, --help help for easy-params
5151
--load-config load aws config from ~/.aws/config (default true)
5252
-l, --local-time convert UTC to local time (default true)
5353
--region string AWS region to use
5454
--version show version
5555

56-
Use "ezparams [command] --help" for more information about a command.
56+
Use "easy-params [command] --help" for more information about a command.
5757
```
5858

5959
## Basic Usage
@@ -69,11 +69,11 @@ by default.
6969
Lists parameters in specified path.
7070

7171
```console
72-
$ ezparams ls --help
72+
$ easy-params ls --help
7373
List parameters by path
7474

7575
Usage:
76-
ezparams ls <path> [flags]
76+
easy-params ls <path> [flags]
7777

7878
Flags:
7979
-d, --decrypt decrypt "SecureString" values (default true)
@@ -84,7 +84,7 @@ Flags:
8484
-v, --values display values
8585

8686
Global Flags:
87-
--config string config file (default is $HOME/.ezparams.yaml)
87+
--config string config file (default is $HOME/.easy-params.yaml)
8888
--load-config load aws config from ~/.aws/config (default true)
8989
-l, --local-time convert UTC to local time (default true)
9090
--region string AWS region to use
@@ -96,11 +96,11 @@ Global Flags:
9696
Put a parameter to the specified path.
9797

9898
```console
99-
$ ezparams put --help
99+
$ easy-params put --help
100100
Put parameter by path
101101

102102
Usage:
103-
ezparams put <path> <value> [flags]
103+
easy-params put <path> <value> [flags]
104104

105105
Flags:
106106
-c, --context string context mode for setting many values.
@@ -109,7 +109,7 @@ Flags:
109109
-t, --type string type of parameter. (default "SecureString")
110110

111111
Global Flags:
112-
--config string config file (default is $HOME/.ezparams.yaml)
112+
--config string config file (default is $HOME/.easy-params.yaml)
113113
--load-config load aws config from ~/.aws/config (default true)
114114
-l, --local-time convert UTC to local time (default true)
115115
--region string AWS region to use
@@ -121,18 +121,18 @@ Global Flags:
121121
Remove a parameter by path. You can also remove recursively by path with the --recursive flag.
122122

123123
```console
124-
$ ezparams rm --help
124+
$ easy-params rm --help
125125
Remove parameter(s) by path
126126

127127
Usage:
128-
ezparams rm <path(s)> [flags]
128+
easy-params rm <path(s)> [flags]
129129

130130
Flags:
131131
-h, --help help for rm
132132
--recursive remove all children on path recursively
133133

134134
Global Flags:
135-
--config string config file (default is $HOME/.ezparams.yaml)
135+
--config string config file (default is $HOME/.easy-params.yaml)
136136
--load-config load aws config from ~/.aws/config (default true)
137137
-l, --local-time convert UTC to local time (default true)
138138
--region string AWS region to use
@@ -145,11 +145,11 @@ Migrate parameters from one path to another. Supports region to region. _This co
145145
same region if `region-to` is not specified._
146146

147147
```console
148-
$ ezparams migrate --help
148+
$ easy-params migrate --help
149149
Migrate parameters by path
150150

151151
Usage:
152-
ezparams migrate <source path> [destination path] [flags]
152+
easy-params migrate <source path> [destination path] [flags]
153153

154154
Flags:
155155
-h, --help help for migrate
@@ -158,7 +158,7 @@ Flags:
158158
-t, --region-to string the region to migrate to
159159

160160
Global Flags:
161-
--config string config file (default is $HOME/.ezparams.yaml)
161+
--config string config file (default is $HOME/.easy-params.yaml)
162162
--load-config load aws config from ~/.aws/config (default true)
163163
-l, --local-time convert UTC to local time (default true)
164164
--region string AWS region to use
@@ -170,11 +170,11 @@ Global Flags:
170170
Simple diff between 2 paths. Can also diff values.
171171

172172
```console
173-
$ ezparams diff --help
173+
$ easy-params diff --help
174174
Shows the difference recursively between 2 paths.
175175

176176
Usage:
177-
ezparams diff <path 1> <path 2> [flags]
177+
easy-params diff <path 1> <path 2> [flags]
178178

179179
Flags:
180180
-d, --decrypt decrypt "SecureString" values (default true)
@@ -183,7 +183,7 @@ Flags:
183183
-w, --width-limit int width limit of value output
184184

185185
Global Flags:
186-
--config string config file (default is $HOME/.ezparams.yaml)
186+
--config string config file (default is $HOME/.easy-params.yaml)
187187
--load-config load aws config from ~/.aws/config (default true)
188188
-l, --local-time convert UTC to local time (default true)
189189
--region string AWS region to use

cmd/root.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ var (
2222
)
2323

2424
var rootCmd = &cobra.Command{
25-
Use: "ezparams",
25+
Use: "easy-params",
2626
Short: "An easy AWS Parameter Store CLI",
2727
Run: func(cmd *cobra.Command, args []string) {
2828
if showVersion {
@@ -53,7 +53,7 @@ func Execute() {
5353
func init() {
5454
cobra.OnInitialize(initConfig)
5555

56-
rootCmd.PersistentFlags().StringVar(&cfgFile, "config", "", "config file (default is $HOME/.ezparams.yaml)")
56+
rootCmd.PersistentFlags().StringVar(&cfgFile, "config", "", "config file (default is $HOME/.easy-params.yaml)")
5757
rootCmd.PersistentFlags().BoolVar(&showVersion, "version", false, "show version")
5858
rootCmd.PersistentFlags().BoolVarP(&useLocalTime, "local-time", "l", true, "convert UTC to local time")
5959
rootCmd.PersistentFlags().StringVar(&region, "region", "", "AWS region to use")
@@ -71,9 +71,9 @@ func initConfig() {
7171
os.Exit(1)
7272
}
7373

74-
// Search config in home directory with name ".ezparams" (without extension).
74+
// Search config in home directory with name ".easy-params" (without extension).
7575
viper.AddConfigPath(home)
76-
viper.SetConfigName(".ezparams")
76+
viper.SetConfigName(".easy-params")
7777
}
7878

7979
viper.AutomaticEnv() // read in environment variables that match

0 commit comments

Comments
 (0)