Skip to content

Commit 34288ef

Browse files
committed
feat: hide token input in CLI for security
1 parent ff3dca6 commit 34288ef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/datapilot/cli/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ def process_config(config):
5050

5151

5252
@click.group()
53-
@click.option("--token", required=False, help="Your API token for authentication.")
53+
@click.option("--token", required=False, help="Your API token for authentication.", hide_input=True)
5454
@click.option("--instance-name", required=False, help="Your tenant ID.")
5555
@click.option("--backend-url", required=False, help="Altimate's Backend URL", default="https://api.myaltimate.com")
5656
@click.pass_context

0 commit comments

Comments
 (0)