Skip to content

Add auth login subcommand#48

Merged
mattt merged 7 commits into
mainfrom
mattt/login
Dec 14, 2023
Merged

Add auth login subcommand#48
mattt merged 7 commits into
mainfrom
mattt/login

Conversation

@mattt

@mattt mattt commented Dec 14, 2023

Copy link
Copy Markdown
Contributor
$ 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
@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.

1 participant