Repository navigation
v0.3.1
Device login reads the app URL from your config
prizmal login now takes the consent page from the app_url field in ~/.prizmal/config.json, with $PRIZMAL_APP_URL ahead of it. A switch other than the production API no longer opens the production page, and when the switch names another environment with neither setting present, login stops and reports both settings it needs.
The config file's app_url pairs with its own base_url. If --url or $PRIZMAL_SWITCH_URL points at a different switch, set $PRIZMAL_APP_URL too. A config file this build cannot parse now stops the login instead of falling back to the default switch.
--pick keeps config options this build does not recognize
Saving the config used to rewrite the file through a struct that declared only the fields this build knows, so picking a model deleted any other top-level option you had added. Unknown options now survive every save, and the CLI prints one warning per key it kept.
Full changelog: v0.3.0...v0.3.1