January 2018
Beginner
658 pages
13h 10m
English
Let's add options and arguments back inside Atom. In order to add properties, we're going to update the options object, where the key is the property name, whether it's title or body, and the value is another object that lets us specify how that property should work, as shown here:
const argv = yargs .command('add', 'Add a new note', { title: { } }) .help() .argv;
Read now
Unlock full access