Skip to content

Commit

Permalink
Upgraded readme
Browse files Browse the repository at this point in the history
  • Loading branch information
jiri_otoupal authored and jiri_otoupal committed Mar 6, 2024
1 parent b0ca896 commit 2e38448
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 6 deletions.
14 changes: 11 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,10 @@ pip3 install abst

## How to set up

* Use `abst config fill {context}` to fill your credentials for usage, you can find all the
* Use `abst ctx fill {context}` to fill your credentials for usage, you can find all the
credentials on
cloud provider site, leave context empty if you want to fill default
* Use `abst generate {context}` to generate default config for context, leave context empty if you
* Use `abst ctx generate {context}` to generate default config for context, leave context empty if you
want to generate to
default

Expand All @@ -66,9 +66,17 @@ pip3 install abst
* `abst clean` for removal all the saved credentials
* `abst use {context}` for using different config that you had filled, `default` is the default
context in `creds.json`
* Use `abst locate {context}` to locate your configs, leave context empty if you want to locate
* Use `abst ctx locate {context}` to locate your configs, leave context empty if you want to locate
default

### Context commands

* `abst ctx list` to list contexts
* `abst ctx upgrade <context-name>` to upgrade context you can use `--all` flag to upgrade all contexts
* `abst ctx locate <context-name>` to get a full path of context
* `abst ctx share <context-name>` to copy context contents into clipboard and display it, you can use `--raw` to just get json
* `abst ctx paste <context-name>` to paste contents into context file provided from name

### Parallel execution

If you are more demanding and need to have connection to your SSH Tunnels ready at all times
Expand Down
2 changes: 1 addition & 1 deletion abst/__version__.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"CLI Command making OCI Bastion and kubernetes usage simple and fast"
)

__version__ = "2.3.25"
__version__ = "2.3.26"
__author__ = "Jiri Otoupal"
__author_email__ = "jiri-otoupal@ips-database.eu"
__license__ = "MIT"
Expand Down
4 changes: 2 additions & 2 deletions abst/cli_commands/context/commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ def display(name, debug=False):


@context.command(
help="Will print context without local paths and put it in clipboard for sharing")
help="Will share context without local paths and put it in clipboard for sharing")
@click.option("--debug", is_flag=True, default=False)
@click.option("--raw", is_flag=True, default=False)
@click.argument("name")
Expand Down Expand Up @@ -217,4 +217,4 @@ def upgrade(debug, context_name, all):
ctx.add_command(generate, "generate")
ctx.add_command(fill, "fill")
ctx.add_command(locate, "locate")
ctx.add_command(upgrade)
ctx.add_command(upgrade, "upgrade")

0 comments on commit 2e38448

Please sign in to comment.