blinky/libs/constants.js

18 lines
453 B
JavaScript
Raw Normal View History

module.exports = {
ALL: 'all',
RANDOM: 'random',
MODE_SET: 'set',
MODE_MORPH: 'morph',
MODE_BLINK: 'blink',
MODE_PULSE: 'pulse',
MODE_POWEROFF: 'poweroff',
ARG_CONFIG: '--config',
2022-03-03 21:18:07 +01:00
ARG_CONFIG_SHORT: '-c',
ARG_LIST: '--list',
ARG_LIST_SHORT: '-ls',
DURATION_DEFAULT: require('../config.json').api.post.duration.default || 1000,
DELAY_DEFAULT: require('../config.json').api.post.delay.default || 500
}