mirror of
https://github.com/laurent22/joplin.git
synced 2024-12-21 09:38:01 +02:00
20 lines
437 B
JavaScript
20 lines
437 B
JavaScript
const BaseCommand = require('./base-command').default;
|
|
const { _ } = require('@joplin/lib/locale');
|
|
|
|
class Command extends BaseCommand {
|
|
usage() {
|
|
return 'batch <file-path>';
|
|
}
|
|
|
|
description() {
|
|
return _('Runs the commands contained in the text file. There should be one command per line.');
|
|
}
|
|
|
|
async action() {
|
|
// Implementation is in app.js::commandList()
|
|
throw new Error('No implemented');
|
|
}
|
|
}
|
|
|
|
module.exports = Command;
|