var celery = require('../lib'); var objects = [ { command: 'init', desc: 'Adds a project in cwd to cupboard.' }, { command: 'remove ', desc: 'Removes project from cupboard.' }, { command: ' ', desc: 'Calls custom command specified in project cupboard config.' }, { command: 'untouch ', desc: 'Flags given project as updated.' }, { command: 'publish ', desc: 'Publishes target project.' }, { command: 'updates', desc: 'List all projects with updates.' }, { command: 'list', desc: 'List all projects in cupboard organized by most recently updated.' }, { command: 'install ', desc: 'Installs a third-party cupboard plugin.' }, { command: 'uninstall ', desc: 'Uninstalls a third-party cupboard plugin.' }, { command: 'plugins', desc: 'Lists all third-party plugins.' }, { command: 'scaffold ', desc: 'Initializes target scaffold in cwd' }, { command: 'github ', desc: 'Open github page of target project' }, { command: 'github-issues ', desc: 'Open github issues of target project.' }, { command: 'help', desc: 'Shows the help menu.' }, { command: 'dir ', desc: 'Returns the project path.' }, { command: 'details ', desc: 'Returns details about the given project such as modified files, and number of updates.' } ]; celery.drawTable(objects, { columns: [ { minWidth: 25, width: 20, name: 'command' }, { name: 'desc', width: 80, align: 'left' } ], pad: { left: 10, right: 10, top: 2, bottom: 2 }, ellipsis: true }); celery.open();