In order to use the
springboardvr-cli push command, you'll need to grant springboardvr-cli access
to your SpringboardVR account.
To do so, simply run the
springboardvr-cli login command:
If you forget this step, springboardvr-cli will ask you to login the first time you use a command that requires credentials. No worries!
Once you complete the login flow, your credentials will be saved locally.
Sometimes you find yourself working from a remote server. Perhaps the server has a better internet connection than your local machine does, and you're using it to generate builds for you - in that case, it makes sense to use springboardvr-cli directly from it.
Logging in from a remote server looks like this:
springboardvr-cli loginon your remote server
springboardvr-cli loginis running, and press enter.
springboardvr-cli loginflow locally
You can find your API key locally:
*Reminder: your API key is a secret. Most CI systems have good environment variable hygiene, which means they won't print it during the build.
You can erase your local credentials with the
springboardvr-cli logout command:
Although you can add other accounts as admin to your SpringboardVR page, if you
need to use springboardvr-cli from different accounts on the same machine, you can
--identity) option to specify a different file to
save/read credentials from.
springboardvr-cli -i ~/.config/springboardvr/other_springboardvr_account_credentials push dir content:channel
On Linux and/or Mac, you might want to make an alias if you use it often.