mirror of
https://github.com/laurent22/joplin.git
synced 2024-11-24 08:12:24 +02:00
21 lines
321 B
JavaScript
21 lines
321 B
JavaScript
import { BaseCommand } from './base-command.js';
|
|
import { app } from './app.js';
|
|
import { _ } from 'lib/locale.js';
|
|
|
|
class Command extends BaseCommand {
|
|
|
|
usage() {
|
|
return 'exit';
|
|
}
|
|
|
|
description() {
|
|
return _('Exits the application.');
|
|
}
|
|
|
|
async action(args) {
|
|
await app().exit();
|
|
}
|
|
|
|
}
|
|
|
|
module.exports = Command; |