mirror of
https://github.com/onyx-and-iris/meld-cli.git
synced 2025-07-11 18:01:45 +00:00
reorganise dir structure
This commit is contained in:
parent
d5876762d0
commit
7595c2f2ee
@ -10,15 +10,15 @@
|
|||||||
import { QWebChannel } from 'qwebchannel'
|
import { QWebChannel } from 'qwebchannel'
|
||||||
import WebSocket from 'ws'
|
import WebSocket from 'ws'
|
||||||
|
|
||||||
import cli from './utils/cli.js'
|
import cli from '../src/cli.js'
|
||||||
import style from './utils/style.js'
|
import style from '../src/style.js'
|
||||||
import { sceneHelp, sceneList, sceneSwitch, sceneCurrent } from './utils/scene.js'
|
import { sceneHelp, sceneList, sceneSwitch, sceneCurrent } from '../src/scene.js'
|
||||||
import { audioHelp, audioList, audioMute, audioUnmute, audioToggle, audioStatus } from './utils/audio.js'
|
import { audioHelp, audioList, audioMute, audioUnmute, audioToggle, audioStatus } from '../src/audio.js'
|
||||||
import { streamHelp, streamStart, streamStop, streamToggle, streamStatus } from './utils/stream.js'
|
import { streamHelp, streamStart, streamStop, streamToggle, streamStatus } from '../src/stream.js'
|
||||||
import { recordHelp, recordStart, recordStop, recordToggle, recordStatus } from './utils/record.js'
|
import { recordHelp, recordStart, recordStop, recordToggle, recordStatus } from '../src/record.js'
|
||||||
import { clipHelp, clipSave } from './utils/clip.js'
|
import { clipHelp, clipSave } from '../src/clip.js'
|
||||||
import { screenshotHelp, screenshotTake } from './utils/screenshot.js'
|
import { screenshotHelp, screenshotTake } from '../src/screenshot.js'
|
||||||
import { virtualcamHelp, virtualcamToggle } from './utils/virtualcam.js'
|
import { virtualcamHelp, virtualcamToggle } from '../src/virtualcam.js'
|
||||||
|
|
||||||
const input = cli.input
|
const input = cli.input
|
||||||
const flags = cli.flags
|
const flags = cli.flags
|
||||||
@ -37,7 +37,7 @@ function printHelp (helpText) {
|
|||||||
process.exit(0)
|
process.exit(0)
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Print an error message and exit the process.
|
* Print an error message and exit the process.
|
||||||
* @param {string} message - The error message to print.
|
* @param {string} message - The error message to print.
|
||||||
*/
|
*/
|
@ -6,7 +6,7 @@
|
|||||||
* Provides commands to toggle the virtual camera on or off.
|
* Provides commands to toggle the virtual camera on or off.
|
||||||
* Integrates with cli-meow-help for command-line help.
|
* Integrates with cli-meow-help for command-line help.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import meowHelp from 'cli-meow-help'
|
import meowHelp from 'cli-meow-help'
|
||||||
|
|
||||||
const commands = {
|
const commands = {
|
Loading…
x
Reference in New Issue
Block a user