fix· API
Log in to the CLI from a script
sinatra login now takes -w <workspace-id> to set the default workspace, and a token piped into it no longer leaves login asking for a workspace it can't read.
Before, sinatra login < token-file read the token and then asked three times for a default workspace against input that had already ended. Now, if you belong to more than one workspace and pass no -w, it saves no default and prints one line saying how to set one. An id that isn't one of the token's workspaces is refused and nothing is saved, so a typo leaves your previous login in place. It's in version 0.1.1 of the CLI; run npm i -g sinatra.dev to update.
#1986