Skip to content

Conversation

@mattt
Copy link
Contributor

@mattt mattt commented Feb 10, 2024

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.

2 participants