mirror of
https://github.com/datahub-project/datahub.git
synced 2025-11-03 04:10:43 +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
|
||||
Configure which datahub instance to connect to
|
||||
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
|
||||
datahub init
|
||||
/Users/user/.datahubenv already exists. Overwrite? [y/N]: y
|
||||
Configure which datahub instance to connect to
|
||||
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
|
||||
|
||||
@ -149,7 +149,7 @@ def init(use_password: bool = False) -> None:
|
||||
)
|
||||
else:
|
||||
token = click.prompt(
|
||||
"Enter your DataHub access token (Supports env vars via `{VAR_NAME}` syntax)",
|
||||
"Enter your DataHub access token",
|
||||
type=str,
|
||||
default="",
|
||||
)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user