1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-12-17 23:27:48 +02:00

Cleaned up commands and enable only relevant ones in CLI mode

This commit is contained in:
Laurent Cozic
2017-10-24 22:37:36 +01:00
parent 89d85541ef
commit 372b70270d
14 changed files with 54 additions and 12 deletions

View File

@@ -44,6 +44,7 @@ class Command extends BaseCommand {
for (let n in commands) {
if (!commands.hasOwnProperty(n)) continue;
const command = commands[n];
if (command.hidden()) continue;
commandNames.push(command.name());
}