UNPKG

launchpad-marquee

Version:

Use your Novation Launchpad as a scrolling marquee

26 lines (20 loc) 516 B
#!/usr/bin/env node 'use strict' const meow = require('meow') const launchpadMarquee = require('./') const cli = meow(` Usage $ launchpad-marquee <input> $ launchpad-marquee --interval 200 <input> Options -i, --interval Set the scrolling interval --color Set the output color Examples $ launchpad-marquee "9876543210" $ launchpad-marquee --color green "ableton" `) launchpadMarquee({ text: cli.input[0], interval: cli.flags.i || cli.flags.interval, color: cli.flags.color })