mirror of
https://github.com/onyx-and-iris/slobs-cli.git
synced 2025-06-27 15:20:24 +01:00
revert default to localhost.
the slow resolution was due to Docker desktop... patch bump
This commit is contained in:
parent
f3c94d1dee
commit
81d0072148
@ -51,7 +51,7 @@ The CLI should now be discoverable as `slobs-cli`
|
|||||||
Pass `--domain`, `--port` and `--token` as flags on the root command, for example:
|
Pass `--domain`, `--port` and `--token` as flags on the root command, for example:
|
||||||
|
|
||||||
```console
|
```console
|
||||||
slobs-cli --domain 127.0.0.1 --port 59650 --token <API token> --help
|
slobs-cli --domain localhost --port 59650 --token <API token> --help
|
||||||
```
|
```
|
||||||
|
|
||||||
#### Environment Variables
|
#### Environment Variables
|
||||||
@ -59,7 +59,7 @@ slobs-cli --domain 127.0.0.1 --port 59650 --token <API token> --help
|
|||||||
Load the following values from your environment:
|
Load the following values from your environment:
|
||||||
|
|
||||||
```env
|
```env
|
||||||
SLOBS_DOMAIN=127.0.0.1
|
SLOBS_DOMAIN=localhost
|
||||||
SLOBS_PORT=59650
|
SLOBS_PORT=59650
|
||||||
SLOBS_TOKEN=<API Token>
|
SLOBS_TOKEN=<API Token>
|
||||||
```
|
```
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
"""module for package metadata."""
|
"""module for package metadata."""
|
||||||
|
|
||||||
__version__ = '0.9.2'
|
__version__ = '0.9.3'
|
||||||
|
@ -11,7 +11,7 @@ from .__about__ import __version__ as version
|
|||||||
@click.option(
|
@click.option(
|
||||||
'-d',
|
'-d',
|
||||||
'--domain',
|
'--domain',
|
||||||
default='127.0.0.1',
|
default='localhost',
|
||||||
envvar='SLOBS_DOMAIN',
|
envvar='SLOBS_DOMAIN',
|
||||||
show_default=True,
|
show_default=True,
|
||||||
show_envvar=True,
|
show_envvar=True,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user