Skip to content

Commit ebeadc7

Browse files
committed
bump version, expose aws_coco, update docs
1 parent d6fbd0e commit ebeadc7

File tree

3 files changed

+19
-2
lines changed

3 files changed

+19
-2
lines changed

README.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ You should now have a new browser tab with your aws session!
2020

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

23+
If `coco` is too generic, this package also exposes `aws_coco`.
24+
2325
## Requirements
2426

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

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

59+
This can be annoying to type, so it's recommended to build aliases for your accounts.
60+
61+
Example alias:
62+
63+
```bash
64+
alias coco-test=coco --color green --icon fingerprint --name test
65+
```
66+
67+
Now you can just run:
68+
69+
```bash
70+
$ coco-test
71+
```
72+
5773
### Credential Resolution
5874

5975
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).

aws_coco/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ def construct_parser():
1515
description="A utility for managing AWS Console Sessions"
1616
)
1717

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

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

pyproject.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "aws-coco"
3-
version = "0.1.6"
3+
version = "0.1.7"
44
description = "A utility for managing AWS Console Sessions with Firefox Containers"
55
authors = ["Joe Snell <joepsnell@gmail.com>"]
66
license = "MIT"
@@ -21,6 +21,7 @@ black = "^20.8b1"
2121

2222
[tool.poetry.scripts]
2323
coco = "aws_coco.main:run"
24+
aws-coco = "aws_coco.main:run"
2425

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

0 commit comments

Comments
 (0)