Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add auth login subcommand #48

Merged
merged 7 commits into from
Dec 14, 2023
Merged

Add auth login subcommand #48

merged 7 commits into from
Dec 14, 2023

Conversation

mattt
Copy link
Member

@mattt mattt commented Dec 14, 2023

$ replicate auth login --help
Log in to Replicate

You can find your Replicate API token at https://replicate.com/account

Usage:
  replicate auth login --token-stdin [flags]

Examples:

	# Log in with environment variable
	$ echo $REPLICATE_API_TOKEN | replicate auth login --token-stdin

	# Log in with token file
	$ replicate auth login --token-stdin < path/to/token

Flags:
  -h, --help          help for login
      --token-stdin   Take the token from stdin.

@mattt mattt merged commit 7aaff16 into main Dec 14, 2023
2 checks passed
@mattt mattt deleted the mattt/login branch December 14, 2023 14:37
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.

None yet

1 participant