-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from simeji/dev
Merege Dev branch
- Loading branch information
Showing
7 changed files
with
496 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
Godeps/Readme | ||
Godeps/_workspace |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
## 0.1.0 (2014-08-18) | ||
|
||
Initial release | ||
|
||
### Added | ||
|
||
- Add Fundamental features | ||
|
||
### Deprecated | ||
|
||
- Nothing | ||
|
||
### Removed | ||
|
||
- Nothing | ||
|
||
### Fixed | ||
|
||
- Nothing |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,41 @@ | ||
# aws-utilities-go | ||
aws utilities written by go | ||
|
||
## Instance Operations | ||
|
||
start, stop, and show status, your ec2 instances. | ||
|
||
### Command Options | ||
|
||
`--nametag`, `-n` [*required] | ||
|
||
"Name" tag to search instances. | ||
you can use "*" | ||
|
||
`--mode`, `-m` [*required] | ||
|
||
start or stop or status | ||
|
||
### Example | ||
|
||
command | ||
|
||
``` | ||
$ aws-utilities -p my_main_profile op -n *test -m status | ||
``` | ||
|
||
outputs | ||
|
||
(Nametag PrivateIP PublicIP InstanceID InstanceState) | ||
|
||
``` | ||
simeji-test 172.30.0.200 54.xxx.xxx.201 i-xxxaaaa1 running | ||
simeji-test2 172.30.0.201 i-xxxbbbb2 stopped | ||
``` | ||
|
||
## Global Options | ||
|
||
`--profile`, `-p` | ||
|
||
your profile. default: "default" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
package main | ||
|
||
import ( | ||
"github.com/codegangsta/cli" | ||
"os" | ||
) | ||
|
||
func main() { | ||
app := cli.NewApp() | ||
app.Name = "aws-utilities" | ||
app.Version = Version | ||
app.Usage = "" | ||
app.Author = "simeji" | ||
app.Email = "[email protected]" | ||
app.Commands = Commands | ||
app.Flags = []cli.Flag{ | ||
cli.StringFlag{ | ||
Name: "profile, p", | ||
Usage: "aws profile [default: 'default']", | ||
}, | ||
} | ||
app.Run(os.Args) | ||
} |
Oops, something went wrong.