DocsCLI
login and logout
Save your Pro licence key for the CLI, or remove it.
npx @swipeui/cli loginlogin asks for your licence key, checks it with the SwipeUI API, then saves it as SWIPEUI_LICENSE_KEY in .env.local. You can also pass the key as an argument: npx @swipeui/cli login <key>.
npx @swipeui/cli logoutlogout removes the key from .env.local.
Where the key goes
.env.local: the shadcn CLI reads this file too, sonpx shadcn addfinds your key without extra setup.- Never
EXPO_PUBLIC_: variables with that prefix are bundled into your app.loginnever uses it, anddoctorwarns if it finds the key there. - Gitignored:
loginmakes sure.env*.localis in your.gitignorebefore it writes.
In CI
Skip login and set SWIPEUI_LICENSE_KEY as a secret environment variable instead. See Configuration.