amaran-light-cli
Version:
Command line tool for controlling Aputure Amaran lights via WebSocket to a local Amaran desktop app.
48 lines • 2.29 kB
JavaScript
import registerAutoCct from './commands/daylightSimulation/autoCct.js';
import registerSchedule from './commands/daylightSimulation/schedule.js';
import registerService from './commands/daylightSimulation/service.js';
import registerWeather from './commands/daylightSimulation/weather.js';
import registerCct from './commands/deviceControl/cct.js';
import registerColor from './commands/deviceControl/color.js';
import registerConfig from './commands/deviceControl/config.js';
import registerDiscover from './commands/deviceControl/discover.js';
import registerEffect from './commands/deviceControl/effect.js';
import registerFan from './commands/deviceControl/fan.js';
import registerGroup from './commands/deviceControl/group.js';
import registerHsi from './commands/deviceControl/hsi.js';
import registerInfo from './commands/deviceControl/info.js';
import registerIntensity from './commands/deviceControl/intensity.js';
import registerList from './commands/deviceControl/list.js';
import registerPower from './commands/deviceControl/power.js';
import registerPreset from './commands/deviceControl/preset.js';
import registerQuickshot from './commands/deviceControl/quickshot.js';
import registerScene from './commands/deviceControl/scene.js';
import registerStatus from './commands/deviceControl/status.js';
// Expose a function to register commands on a commander program instance
export function registerCommands(program, deps) {
// Register config command first
registerConfig(program, deps);
// Register all other commands
registerAutoCct(program, deps);
registerSchedule(program, deps);
registerDiscover(program, deps);
registerList(program, deps);
registerPower(program, deps);
registerIntensity(program, deps);
registerCct(program, deps);
registerHsi(program, deps);
registerColor(program, deps);
registerStatus(program, deps);
registerService(program, deps);
registerWeather(program, deps);
// New commands
registerScene(program, deps);
registerGroup(program, deps);
registerPreset(program, deps);
registerQuickshot(program, deps);
registerFan(program, deps);
registerEffect(program, deps);
registerInfo(program, deps);
}
export default registerCommands;
//# sourceMappingURL=commands.js.map