The opposite of minimist: take an object and turn it into an array of command-line arguments
OTHER License
The opposite of minimist: take an object and turn it into an array of command-line arguments.
flags = maximist(args)
Converts the args
object into flags
. For example, the following:
require('maximist')({
hello: 'world'
, spin: false
})
Should yield:
['--hello', 'world', '--no-spin']
MIT. See LICENSE.md for details.