mirror of
https://github.com/datahub-project/datahub.git
synced 2025-11-08 15:30:55 +00:00
feat(ingest/cli): init does not actually support environment variables (#10989)
This commit is contained in:
parent
fde71d4500
commit
6fe5692d67
@ -193,14 +193,14 @@ datahub init
|
|||||||
/Users/user/.datahubenv already exists. Overwrite? [y/N]: y
|
/Users/user/.datahubenv already exists. Overwrite? [y/N]: y
|
||||||
Configure which datahub instance to connect to
|
Configure which datahub instance to connect to
|
||||||
Enter your DataHub host [http://localhost:8080]: http://localhost:8080
|
Enter your DataHub host [http://localhost:8080]: http://localhost:8080
|
||||||
Enter your DataHub access token (Supports env vars via `{VAR_NAME}` syntax) []:
|
Enter your DataHub access token []:
|
||||||
|
|
||||||
# acryl example
|
# acryl example
|
||||||
datahub init
|
datahub init
|
||||||
/Users/user/.datahubenv already exists. Overwrite? [y/N]: y
|
/Users/user/.datahubenv already exists. Overwrite? [y/N]: y
|
||||||
Configure which datahub instance to connect to
|
Configure which datahub instance to connect to
|
||||||
Enter your DataHub host [http://localhost:8080]: https://<your-instance-id>.acryl.io/gms
|
Enter your DataHub host [http://localhost:8080]: https://<your-instance-id>.acryl.io/gms
|
||||||
Enter your DataHub access token (Supports env vars via `{VAR_NAME}` syntax) []: <token generated from https://<your-instance-id>.acryl.io/settings/tokens>
|
Enter your DataHub access token []: <token generated from https://<your-instance-id>.acryl.io/settings/tokens>
|
||||||
```
|
```
|
||||||
|
|
||||||
#### Environment variables supported
|
#### Environment variables supported
|
||||||
|
|||||||
@ -149,7 +149,7 @@ def init(use_password: bool = False) -> None:
|
|||||||
)
|
)
|
||||||
else:
|
else:
|
||||||
token = click.prompt(
|
token = click.prompt(
|
||||||
"Enter your DataHub access token (Supports env vars via `{VAR_NAME}` syntax)",
|
"Enter your DataHub access token",
|
||||||
type=str,
|
type=str,
|
||||||
default="",
|
default="",
|
||||||
)
|
)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user