Fork me on GitHub

nmo

configuration#

Synopsis#

nmo.commands.config.set(section, key, value)
nmo.commands.config.get([section], [key])

Description#

Manage the nmo configuration.

Sets key/value for sections in the configration file. The file is automatically saved. Returns a promise.

Get the whole config (no argument provided), sections (section argument provided), or a key/value pair inside a asection. Sync!