UNPKG

amaran-light-cli

Version:

Command line tool for controlling Aputure Amaran lights via WebSocket to a local Amaran desktop app.

10 lines 630 B
#!/usr/bin/env node import { Command } from 'commander'; import LightController from './deviceControl/lightControl.js'; import type { Device } from './deviceControl/types.js'; declare const program: Command; declare function createController(wsUrl?: string, clientId?: string, debug?: boolean): Promise<LightController>; declare function asyncCommand<T extends unknown[]>(fn: (...args: T) => Promise<void>): (...args: T) => Promise<void>; declare function findDevice(controller: LightController, deviceQuery: string): Device | null; export { program, createController, findDevice, asyncCommand }; //# sourceMappingURL=cli.d.ts.map