balena-cli/lib/actions/preferences.coffee
2014-12-05 11:09:31 -04:00

9 lines
240 B
CoffeeScript

open = require('open')
url = require('url')
resin = require('../resin')
exports.preferences = ->
preferencesUrl = resin.settings.get('urls.preferences')
absUrl = url.resolve(resin.settings.get('remoteUrl'), preferencesUrl)
open(absUrl)