Skip to content

Commit

Permalink
chore: prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
sinedied committed Jun 28, 2023
1 parent 8eece1e commit f351a9e
Showing 1 changed file with 13 additions and 4 deletions.
17 changes: 13 additions & 4 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,15 @@ ${chalk.bold('Commands:')}
export class DmxHue {
constructor(args) {
this._args = minimist(args, {
boolean: ['list', 'force', 'help', 'version', 'colorloop', 'white',
'no-limit'],
boolean: [
'list',
'force',
'help',
'version',
'colorloop',
'white',
'no-limit'
],
string: ['ip', 'host', 'transition'],
number: ['address', 'universe'],
alias: {
Expand Down Expand Up @@ -251,13 +258,15 @@ export class DmxHue {
{
type: 'confirm',
name: 'colorloop',
message: 'Enable colorloop feature (when RGB channels are set to 1)',
message:
'Enable colorloop feature (when RGB channels are set to 1)',
default: Util.config.get('colorloop') ?? false
},
{
type: 'confirm',
name: 'white',
message: 'Enable white control feature (adds 2 DMX channels per light)',
message:
'Enable white control feature (adds 2 DMX channels per light)',
default: Util.config.get('white') ?? false
},
{
Expand Down

0 comments on commit f351a9e

Please sign in to comment.