remove flag defaults so that we can process env vars

This commit is contained in:
onyx-and-iris 2025-06-30 16:24:00 +01:00
parent 96b22b30a9
commit 24bcd3f5ef
3 changed files with 4 additions and 6 deletions

View File

@ -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)

View File

@ -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: {

View File

@ -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'
}
}