@drawcall/auth
Shared authentication for Drawcall command-line tools.
npx @drawcall/auth login
npx @drawcall/auth status
npx @drawcall/auth logout
Credentials live in the platform config directory under drawcall/config.json. Set
DRAWCALL_AUTH_TOKEN to use an ephemeral token instead. Existing credentials from the former
Market and Design config files migrate automatically.
The Commander implementation is public for aggregate CLIs:
import { createAuthCommand } from "@drawcall/auth";
program.addCommand(createAuthCommand());