Skip to content

Commit

Permalink
bump version, expose aws_coco, update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
wulfmann committed Oct 2, 2020
1 parent d6fbd0e commit ebeadc7
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 2 deletions.
16 changes: 16 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ You should now have a new browser tab with your aws session!

Continue reading for a more in-depth walkthrough of the setup.

If `coco` is too generic, this package also exposes `aws_coco`.

## Requirements

If using containers:
Expand Down Expand Up @@ -54,6 +56,20 @@ $ coco --color green --icon fingerprint --name test

This will open the url in a `green` firefox container tab named `test` with a `fingerprint` icon.

This can be annoying to type, so it's recommended to build aliases for your accounts.

Example alias:

```bash
alias coco-test=coco --color green --icon fingerprint --name test
```

Now you can just run:

```bash
$ coco-test
```

### Credential Resolution

This project uses [boto3](https://github.com/boto/boto3). You can learn more about how `boto3` resolves credentials [here](https://boto3.amazonaws.com/v1/documentation/api/1.9.42/guide/configuration.html#configuring-credentials).
Expand Down
2 changes: 1 addition & 1 deletion aws_coco/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ def construct_parser():
description="A utility for managing AWS Console Sessions"
)

parser.add_argument('--version', action='version', version='%(prog)s 0.1.6')
parser.add_argument('--version', action='version', version='%(prog)s 0.1.7')

parser.add_argument("--profile", "-p", help="The AWS profile to use", default=None)

Expand Down
3 changes: 2 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "aws-coco"
version = "0.1.6"
version = "0.1.7"
description = "A utility for managing AWS Console Sessions with Firefox Containers"
authors = ["Joe Snell <[email protected]>"]
license = "MIT"
Expand All @@ -21,6 +21,7 @@ black = "^20.8b1"

[tool.poetry.scripts]
coco = "aws_coco.main:run"
aws-coco = "aws_coco.main:run"

[tool.poetry.urls]
issues = "https://github.com/wulfmann/aws-coco/issues"
Expand Down

0 comments on commit ebeadc7

Please sign in to comment.