This commit is contained in:
Julian Lam
2017-06-01 16:24:40 -04:00
parent 5a55c882ab
commit 29e868b002
5 changed files with 49 additions and 1 deletions

7
nodebb
View File

@@ -495,6 +495,13 @@ var commands = {
upgradePlugins();
},
},
events: {
description: 'Outputs the last ten (10) administrative events recorded by NodeBB',
usage: 'Usage: ' + './nodebb events'.yellow,
handler: function () {
fork(['--events']);
},
},
help: {
description: 'Display the help message for a given command',
usage: 'Usage: ' + './nodebb help <command>'.yellow,