curvenote token

curvenote token (or curvenote auth) manages the API tokens the CLI uses to reach Curvenote. Authentication walks through making a token and signing in.

CommandWhat it does
curvenote token set [token]Save a token and make it the active one; without a value you are asked.
curvenote token listShow whether you are signed in, and list the saved tokens.
curvenote token checkCheck that the active token works.
curvenote token selectPick which saved token to use.
curvenote token anonymousWork without a token, keeping the saved ones (also anon).
curvenote token deleteDelete the active token; --all deletes every saved token (also remove).

A CURVENOTE_TOKEN environment variable takes priority over saved tokens, which is how you sign in on a server or in continuous integration.

Abbreviations
API
Application Programming Interface
CLI
Command Line Interface