2014-11-19 12:59:17 +00:00
|
|
|
open = require('open')
|
|
|
|
|
2014-11-27 15:22:48 +00:00
|
|
|
module.exports = (resin) ->
|
|
|
|
|
|
|
|
resin.cli.addCommand
|
|
|
|
command: 'preferences'
|
|
|
|
description: 'open preferences form'
|
|
|
|
permission: 'user'
|
|
|
|
action: ->
|
|
|
|
open(resin.config.urls.preferences)
|