Skip to content

Commit

Permalink
update readme and argument help, bump version
Browse files Browse the repository at this point in the history
  • Loading branch information
nl5887 committed Aug 6, 2020
1 parent 22b3c81 commit 02d1c4c
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 12 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "cloudman-rs"
version = "0.1.2"
version = "0.1.3"
authors = ["Remco Verhoef <remco@dutchcoders.io>"]
edition = "2018"
build = "build.rs"
Expand Down
15 changes: 8 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,20 +21,21 @@ The profiles and defaults as configured in ~/.aws/credentials will be used.
Cloudman can be started optionally with a region and profile to use.

```
cloudman-rs 0.1.0
cloudman-rs 0.1.3
Remco Verhoef <remco@dutchcoders.io>
USAGE:
cloudman [OPTIONS]
cloudman [FLAGS] [OPTIONS]
FLAGS:
-h, --help Prints help information
-V, --version Prints version information
--disable-dry-run Disable dry run
-h, --help Prints help information
--use-env Usen environment credentials
-V, --version Prints version information
OPTIONS:
-p, --profile <profile>
-r, --region <region>
-p, --profile <profile>... One or more profiles to use
-r, --region <region>... One or more regions to use
```

## Shortcuts
Expand Down
8 changes: 4 additions & 4 deletions src/bin/cloudman.rs
Original file line number Diff line number Diff line change
Expand Up @@ -223,16 +223,16 @@ fn get_instances_with_region(
#[derive(Clap)]
#[clap(version = built_info::PKG_VERSION, author = built_info::PKG_AUTHORS)]
struct Opts {
#[clap(short, long)]
#[clap(short, long, about("One or more regions to use"))]
region: Vec<String>,

#[clap(short, long)]
#[clap(short, long, about("One or more profiles to use"))]
profile: Vec<String>,

#[clap(long)]
#[clap(long, about("Disable dry run"))]
disable_dry_run: bool,

#[clap(long)]
#[clap(long, about("Usen environment credentials"))]
use_env: bool,
}

Expand Down

0 comments on commit 02d1c4c

Please sign in to comment.