Authenticates with Baseten, storing the API key in the local configuration file.
If used with no options, runs in interactive mode. Otherwise, the API key can be passed as an option.
Options
Baseten API key. If provided, the command runs in non-interactive mode.
Examples:
Authenticate interactively:
You should see:
💻 Let's add a Baseten remote!
🤫 Quietly paste your API_KEY:
💾 Remote config `baseten` saved to `~/.trussrc`.
Authenticate non-interactively with your API key:
truss login --api-key YOUR_API_KEY