Skip to content

Commit a700457

Browse files
committed
added value as parameter
1 parent 432fe84 commit a700457

8 files changed

Lines changed: 67 additions & 57 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ Alternatively, you can install the binary from source [here](https://github.com/
4444
<img align="center" src="https://s3.us-east-2.amazonaws.com/kepler-images/warrensbox/aws-find/aws-findemo.gif" alt="drawing" style="width: 480px;" />
4545

4646
1. You can pass parameters to your `aws-find` command on your terminal.
47-
2. Pass -t or --tag for the tag name. And, -n and --name for the tag value.
47+
2. Pass -T or --tag for the tag name. And, -V and --value for the tag value.
4848
3. Hit **Enter** to see the list of instaces
4949

5050
### Without parameters

docs/_site/Gemfile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
11
source 'https://rubygems.org'
22
gem 'github-pages', group: :jekyll_plugins
33
gem "minima"
4+
5+
gem "commonmarker"
6+
gem "ffi", ">= 1.9.24"
7+
gem "rubyzip", ">= 1.2.2"
8+
gem "jekyll", ">= 3.7.4"
9+
gem "nokogiri", ">= 1.8.5"

docs/_site/Gemfile.lock

Lines changed: 47 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
GEM
22
remote: https://rubygems.org/
33
specs:
4-
activesupport (4.2.9)
4+
activesupport (4.2.10)
55
i18n (~> 0.7)
66
minitest (~> 5.1)
77
thread_safe (~> 0.3, >= 0.3.4)
@@ -13,42 +13,43 @@ GEM
1313
execjs
1414
coffee-script-source (1.11.1)
1515
colorator (1.1.0)
16-
commonmarker (0.17.9)
16+
commonmarker (0.17.13)
1717
ruby-enum (~> 0.5)
18-
concurrent-ruby (1.0.5)
19-
dnsruby (1.60.2)
18+
concurrent-ruby (1.1.4)
19+
dnsruby (1.61.2)
20+
addressable (~> 2.5)
2021
em-websocket (0.5.1)
2122
eventmachine (>= 0.12.9)
2223
http_parser.rb (~> 0.6.0)
23-
ethon (0.11.0)
24+
ethon (0.12.0)
2425
ffi (>= 1.3.0)
2526
eventmachine (1.2.7)
2627
execjs (2.7.0)
27-
faraday (0.15.2)
28+
faraday (0.15.4)
2829
multipart-post (>= 1.2, < 3)
29-
ffi (1.9.23)
30+
ffi (1.10.0)
3031
forwardable-extended (2.6.0)
3132
gemoji (3.0.0)
32-
github-pages (185)
33-
activesupport (= 4.2.9)
33+
github-pages (193)
34+
activesupport (= 4.2.10)
3435
github-pages-health-check (= 1.8.1)
35-
jekyll (= 3.7.3)
36-
jekyll-avatar (= 0.5.0)
36+
jekyll (= 3.7.4)
37+
jekyll-avatar (= 0.6.0)
3738
jekyll-coffeescript (= 1.1.1)
3839
jekyll-commonmark-ghpages (= 0.1.5)
3940
jekyll-default-layout (= 0.1.4)
40-
jekyll-feed (= 0.9.3)
41+
jekyll-feed (= 0.11.0)
4142
jekyll-gist (= 1.5.0)
4243
jekyll-github-metadata (= 2.9.4)
43-
jekyll-mentions (= 1.3.0)
44+
jekyll-mentions (= 1.4.1)
4445
jekyll-optional-front-matter (= 0.3.0)
4546
jekyll-paginate (= 1.1.0)
4647
jekyll-readme-index (= 0.2.0)
47-
jekyll-redirect-from (= 0.13.0)
48+
jekyll-redirect-from (= 0.14.0)
4849
jekyll-relative-links (= 0.5.3)
4950
jekyll-remote-theme (= 0.3.1)
5051
jekyll-sass-converter (= 1.5.2)
51-
jekyll-seo-tag (= 2.4.0)
52+
jekyll-seo-tag (= 2.5.0)
5253
jekyll-sitemap (= 1.2.0)
5354
jekyll-swiss (= 0.4.0)
5455
jekyll-theme-architect (= 0.1.1)
@@ -65,13 +66,13 @@ GEM
6566
jekyll-theme-tactile (= 0.1.1)
6667
jekyll-theme-time-machine (= 0.1.1)
6768
jekyll-titles-from-headings (= 0.5.1)
68-
jemoji (= 0.9.0)
69-
kramdown (= 1.16.2)
69+
jemoji (= 0.10.1)
70+
kramdown (= 1.17.0)
7071
liquid (= 4.0.0)
7172
listen (= 3.1.5)
7273
mercenary (~> 0.3)
73-
minima (= 2.4.1)
74-
nokogiri (>= 1.8.1, < 2.0)
74+
minima (= 2.5.0)
75+
nokogiri (>= 1.8.2, < 2.0)
7576
rouge (= 2.2.1)
7677
terminal-table (~> 1.4)
7778
github-pages-health-check (1.8.1)
@@ -80,13 +81,13 @@ GEM
8081
octokit (~> 4.0)
8182
public_suffix (~> 2.0)
8283
typhoeus (~> 1.3)
83-
html-pipeline (2.8.0)
84+
html-pipeline (2.10.0)
8485
activesupport (>= 2)
8586
nokogiri (>= 1.4)
8687
http_parser.rb (0.6.0)
8788
i18n (0.9.5)
8889
concurrent-ruby (~> 1.0)
89-
jekyll (3.7.3)
90+
jekyll (3.7.4)
9091
addressable (~> 2.4)
9192
colorator (~> 1.0)
9293
em-websocket (~> 0.5)
@@ -99,7 +100,7 @@ GEM
99100
pathutil (~> 0.9)
100101
rouge (>= 1.7, < 4)
101102
safe_yaml (~> 1.0)
102-
jekyll-avatar (0.5.0)
103+
jekyll-avatar (0.6.0)
103104
jekyll (~> 3.0)
104105
jekyll-coffeescript (1.1.1)
105106
coffee-script (~> 2.2)
@@ -113,23 +114,22 @@ GEM
113114
rouge (~> 2)
114115
jekyll-default-layout (0.1.4)
115116
jekyll (~> 3.0)
116-
jekyll-feed (0.9.3)
117+
jekyll-feed (0.11.0)
117118
jekyll (~> 3.3)
118119
jekyll-gist (1.5.0)
119120
octokit (~> 4.2)
120121
jekyll-github-metadata (2.9.4)
121122
jekyll (~> 3.1)
122123
octokit (~> 4.0, != 4.4.0)
123-
jekyll-mentions (1.3.0)
124-
activesupport (~> 4.0)
124+
jekyll-mentions (1.4.1)
125125
html-pipeline (~> 2.3)
126126
jekyll (~> 3.0)
127127
jekyll-optional-front-matter (0.3.0)
128128
jekyll (~> 3.0)
129129
jekyll-paginate (1.1.0)
130130
jekyll-readme-index (0.2.0)
131131
jekyll (~> 3.0)
132-
jekyll-redirect-from (0.13.0)
132+
jekyll-redirect-from (0.14.0)
133133
jekyll (~> 3.3)
134134
jekyll-relative-links (0.5.3)
135135
jekyll (~> 3.3)
@@ -138,7 +138,7 @@ GEM
138138
rubyzip (>= 1.2.1, < 3.0)
139139
jekyll-sass-converter (1.5.2)
140140
sass (~> 3.4)
141-
jekyll-seo-tag (2.4.0)
141+
jekyll-seo-tag (2.5.0)
142142
jekyll (~> 3.3)
143143
jekyll-sitemap (1.2.0)
144144
jekyll (~> 3.3)
@@ -185,44 +185,43 @@ GEM
185185
jekyll-seo-tag (~> 2.0)
186186
jekyll-titles-from-headings (0.5.1)
187187
jekyll (~> 3.3)
188-
jekyll-watch (2.0.0)
188+
jekyll-watch (2.1.2)
189189
listen (~> 3.0)
190-
jemoji (0.9.0)
191-
activesupport (~> 4.0, >= 4.2.9)
190+
jemoji (0.10.1)
192191
gemoji (~> 3.0)
193192
html-pipeline (~> 2.2)
194193
jekyll (~> 3.0)
195-
kramdown (1.16.2)
194+
kramdown (1.17.0)
196195
liquid (4.0.0)
197196
listen (3.1.5)
198197
rb-fsevent (~> 0.9, >= 0.9.4)
199198
rb-inotify (~> 0.9, >= 0.9.7)
200199
ruby_dep (~> 1.2)
201200
mercenary (0.3.6)
202-
mini_portile2 (2.3.0)
203-
minima (2.4.1)
201+
mini_portile2 (2.4.0)
202+
minima (2.5.0)
204203
jekyll (~> 3.5)
205204
jekyll-feed (~> 0.9)
206205
jekyll-seo-tag (~> 2.1)
207206
minitest (5.11.3)
208207
multipart-post (2.0.0)
209-
nokogiri (1.8.2)
210-
mini_portile2 (~> 2.3.0)
211-
octokit (4.9.0)
208+
nokogiri (1.10.1)
209+
mini_portile2 (~> 2.4.0)
210+
octokit (4.13.0)
212211
sawyer (~> 0.8.0, >= 0.5.3)
213-
pathutil (0.16.1)
212+
pathutil (0.16.2)
214213
forwardable-extended (~> 2.6)
215214
public_suffix (2.0.5)
216215
rb-fsevent (0.10.3)
217-
rb-inotify (0.9.10)
218-
ffi (>= 0.5.0, < 2)
216+
rb-inotify (0.10.0)
217+
ffi (~> 1.0)
219218
rouge (2.2.1)
220219
ruby-enum (0.7.2)
221220
i18n
222221
ruby_dep (1.5.0)
223-
rubyzip (1.2.1)
222+
rubyzip (1.2.2)
224223
safe_yaml (1.0.4)
225-
sass (3.5.6)
224+
sass (3.7.3)
226225
sass-listen (~> 4.0.0)
227226
sass-listen (4.0.0)
228227
rb-fsevent (~> 0.9, >= 0.9.4)
@@ -233,18 +232,23 @@ GEM
233232
terminal-table (1.8.0)
234233
unicode-display_width (~> 1.1, >= 1.1.1)
235234
thread_safe (0.3.6)
236-
typhoeus (1.3.0)
235+
typhoeus (1.3.1)
237236
ethon (>= 0.9.0)
238237
tzinfo (1.2.5)
239238
thread_safe (~> 0.1)
240-
unicode-display_width (1.3.2)
239+
unicode-display_width (1.4.1)
241240

242241
PLATFORMS
243242
ruby
244243

245244
DEPENDENCIES
245+
commonmarker
246+
ffi (>= 1.9.24)
246247
github-pages
248+
jekyll (>= 3.7.4)
247249
minima
250+
nokogiri (>= 1.8.5)
251+
rubyzip (>= 1.2.2)
248252

249253
BUNDLED WITH
250254
1.16.2

docs/_site/additional.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@
1414
<link rel="icon" type="image/png" href="https://s3.us-east-2.amazonaws.com/kepler-images/warrensbox/aws-find/favicon_aws-find_32.png" sizes="32x32">
1515
<link rel="icon" type="image/png" href="https://s3.us-east-2.amazonaws.com/kepler-images/warrensbox/aws-find/favicon_aws-find_32.png" sizes="48x48">
1616

17-
<!-- Begin Jekyll SEO tag v2.4.0 -->
17+
<!-- Begin Jekyll SEO tag v2.5.0 -->
1818
<title>AWS Instance Finder | Lookup AWS instances’ IP address and ID by their AWS tag name</title>
19-
<meta name="generator" content="Jekyll v3.7.3" />
19+
<meta name="generator" content="Jekyll v3.7.4" />
2020
<meta property="og:title" content="AWS Instance Finder" />
2121
<meta property="og:locale" content="en_US" />
2222
<meta name="description" content="Lookup AWS instances’ IP address and ID by their AWS tag name" />
@@ -26,7 +26,7 @@
2626
{"description":"Lookup AWS instances’ IP address and ID by their AWS tag name","@type":"WebPage","url":"/additional.html","publisher":{"@type":"Organization","logo":{"@type":"ImageObject","url":"/assets/img/logo.png"}},"headline":"AWS Instance Finder","@context":"http://schema.org"}</script>
2727
<!-- End Jekyll SEO tag -->
2828

29-
<link rel="stylesheet" href="/assets/css/style.css?v=1f91a727ed17b435a6a0c8767fab6c5ec6f4b05b">
29+
<link rel="stylesheet" href="/assets/css/style.css?v=432fe841b8a0fc34c5948920ee22b9f56e0bb306">
3030
<!--[if lt IE 9]>
3131
<script src="//cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7.3/html5shiv.min.js"></script>
3232
<![endif]-->

docs/_site/index.html

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@
1414
<link rel="icon" type="image/png" href="https://s3.us-east-2.amazonaws.com/kepler-images/warrensbox/aws-find/favicon_aws-find_32.png" sizes="32x32">
1515
<link rel="icon" type="image/png" href="https://s3.us-east-2.amazonaws.com/kepler-images/warrensbox/aws-find/favicon_aws-find_32.png" sizes="48x48">
1616

17-
<!-- Begin Jekyll SEO tag v2.4.0 -->
17+
<!-- Begin Jekyll SEO tag v2.5.0 -->
1818
<title>AWS Instance Finder | Lookup AWS instances’ IP address and ID by their AWS tag name</title>
19-
<meta name="generator" content="Jekyll v3.7.3" />
19+
<meta name="generator" content="Jekyll v3.7.4" />
2020
<meta property="og:title" content="AWS Instance Finder" />
2121
<meta property="og:locale" content="en_US" />
2222
<meta name="description" content="Lookup AWS instances’ IP address and ID by their AWS tag name" />
@@ -26,7 +26,7 @@
2626
{"name":"AWS Instance Finder","description":"Lookup AWS instances’ IP address and ID by their AWS tag name","@type":"WebSite","url":"/","publisher":{"@type":"Organization","logo":{"@type":"ImageObject","url":"/assets/img/logo.png"}},"headline":"AWS Instance Finder","@context":"http://schema.org"}</script>
2727
<!-- End Jekyll SEO tag -->
2828

29-
<link rel="stylesheet" href="/assets/css/style.css?v=1f91a727ed17b435a6a0c8767fab6c5ec6f4b05b">
29+
<link rel="stylesheet" href="/assets/css/style.css?v=432fe841b8a0fc34c5948920ee22b9f56e0bb306">
3030
<!--[if lt IE 9]>
3131
<script src="//cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7.3/html5shiv.min.js"></script>
3232
<![endif]-->
@@ -105,8 +105,8 @@ <h3 id="how-to-use">How to use</h3>
105105
<p><img align="center" src="https://s3.us-east-2.amazonaws.com/kepler-images/warrensbox/aws-find/aws-findemo.gif" alt="drawing" style="width: 480px;" /></p>
106106

107107
<ol>
108-
<li>You can pass parameters to your <code class="highlighter-rouge">aws-find</code> command on your terminal</li>
109-
<li>Pass -t or –tag for the tag name. And, -n and –name for the tag value</li>
108+
<li>You can pass parameters to your <code class="highlighter-rouge">aws-find</code> command on your terminal.</li>
109+
<li>Pass -T or –tag for the tag name. And, -V and –value for the tag value.</li>
110110
<li>Hit <strong>Enter</strong> to see the list of instaces</li>
111111
</ol>
112112

docs/_site/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@ Alternatively, you can install the binary from the source [here](https://github.
3636

3737
<img align="center" src="https://s3.us-east-2.amazonaws.com/kepler-images/warrensbox/aws-find/aws-findemo.gif" alt="drawing" style="width: 480px;" />
3838

39-
1. You can pass parameters to your `aws-find` command on your terminal
40-
2. Pass -t or --tag for the tag name. And, -n and --name for the tag value
39+
1. You can pass parameters to your `aws-find` command on your terminal.
40+
2. Pass -T or --tag for the tag name. And, -V and --value for the tag value.
4141
3. Hit **Enter** to see the list of instaces
4242

4343
<img align="center" src="https://s3.us-east-2.amazonaws.com/kepler-images/warrensbox/aws-find/aws-findemo1.gif" alt="drawing" style="width: 480px;" />

docs/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@ Alternatively, you can install the binary from the source [here](https://github.
3636

3737
<img align="center" src="https://s3.us-east-2.amazonaws.com/kepler-images/warrensbox/aws-find/aws-findemo.gif" alt="drawing" style="width: 480px;" />
3838

39-
1. You can pass parameters to your `aws-find` command on your terminal
40-
2. Pass -t or --tag for the tag name. And, -n and --name for the tag value
39+
1. You can pass parameters to your `aws-find` command on your terminal.
40+
2. Pass -T or --tag for the tag name. And, -V and --value for the tag value.
4141
3. Hit **Enter** to see the list of instaces
4242

4343
<img align="center" src="https://s3.us-east-2.amazonaws.com/kepler-images/warrensbox/aws-find/aws-findemo1.gif" alt="drawing" style="width: 480px;" />

main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ func init() {
4545
versionFlag = kingpin.Flag("version", versionFlagDesc).Short('v').Bool()
4646
awsRegion = kingpin.Flag("region", awsRegionDesc).Short('r').String()
4747
tagName = kingpin.Flag("tag", tagNameDesc).Short('T').String()
48-
tagValue = kingpin.Flag("val", tagValueDesc).Short('V').String()
48+
tagValue = kingpin.Flag("value", tagValueDesc).Short('V').String()
4949

5050
}
5151

0 commit comments

Comments
 (0)