mirror of
https://github.com/onyx-and-iris/meld-cli.git
synced 2025-07-11 18:01:45 +00:00
remove flag defaults so that we can process env vars
This commit is contained in:
parent
96b22b30a9
commit
24bcd3f5ef
2
index.js
2
index.js
@ -270,7 +270,7 @@ socket.onopen = function () {
|
||||
})
|
||||
break
|
||||
case 'status':
|
||||
channel = new QWebChannel(socket, function (channel) {
|
||||
channel = new QWebChannel(socket, function (channel) { // eslint-disable-line no-unused-vars
|
||||
recordStatus(channel)
|
||||
.then((message) => {
|
||||
console.log(message)
|
||||
|
@ -20,13 +20,11 @@ const flags = {
|
||||
host: {
|
||||
type: 'string',
|
||||
shortFlag: 'H',
|
||||
default: 'localhost',
|
||||
desc: 'Host address for the Meld server'
|
||||
},
|
||||
port: {
|
||||
type: 'number',
|
||||
shortFlag: 'P',
|
||||
default: 13376,
|
||||
desc: 'Port number for the Meld server'
|
||||
},
|
||||
help: {
|
||||
|
@ -2,13 +2,13 @@ import meowHelp from 'cli-meow-help'
|
||||
|
||||
const commands = {
|
||||
start: {
|
||||
desc: 'Start streaming'
|
||||
desc: 'Start recording'
|
||||
},
|
||||
stop: {
|
||||
desc: 'Stop streaming'
|
||||
desc: 'Stop recording'
|
||||
},
|
||||
status: {
|
||||
desc: 'Show the current streaming status'
|
||||
desc: 'Show the current recording status'
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user