squeezenode-auth
Version:
Node.js wrapper library for squeezebox CLI/json interface with Spotify/SoundCloud support
25 lines (23 loc) • 558 B
JavaScript
var opts = require("nomnom")
.option('url', {
abbr: 'u',
help: 'Logitech Media Server url address. eg. http://192.168.0.10',
required: true
})
.option('port', {
abbr: 'p',
help: 'Logitech Media Server port',
default: 9000
})
.option('username', {
abbr: 'U',
help: 'Authentication username',
default: ''
})
.option('password', {
abbr: 'P',
help: 'Authentication password',
default: ''
})
.parse();
module.exports.opts = opts;