(function() { var open, settings, url; open = require('open'); url = require('url'); settings = require('resin-settings-client'); exports.preferences = { signature: 'preferences', description: 'open preferences form', help: 'Use this command to open the preferences form.\n\nIn the future, we will allow changing all preferences directly from the terminal.\nFor now, we open your default web browser and point it to the web based preferences form.\n\nExamples:\n\n $ resin preferences', permission: 'user', action: function() { var absUrl; absUrl = url.resolve(settings.get('remoteUrl'), '/preferences'); return open(absUrl); } }; }).call(this);