Skip to content

Log config file location after successful authentication#64

Merged
mattt merged 1 commit into
mainfrom
mattt/log-config-file-location
Feb 10, 2024
Merged

Log config file location after successful authentication#64
mattt merged 1 commit into
mainfrom
mattt/log-config-file-location

Conversation

@mattt

@mattt mattt commented Feb 10, 2024

Copy link
Copy Markdown
Contributor

replicate auth login --token-stdin saves the token passed to stdin to $XDG_CONFIG_HOME/replicate/hosts if defined, falling back to ~/.config/replicate/hosts.

This PR updates the command to print exactly where the token was saved, which is helpful for debugging.

$ echo $REPLICATE_API_TOKEN | replicate auth login --token-stdin
Token saved to configuration file: /Users/mattt/.config/replicate/hosts

@mattt
mattt merged commit 96169e0 into main Feb 10, 2024
@mattt
mattt deleted the mattt/log-config-file-location branch February 10, 2024 11:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant