1
0
mirror of https://github.com/laurent22/joplin.git synced 2026-04-27 19:59:02 +02:00
Files

20 lines
379 B
TypeScript

import BaseCommand from './base-command';
import app from './app';
import { _ } from '@joplin/lib/locale';
class Command extends BaseCommand {
public override usage() {
return 'clear';
}
public override description() {
return _('Clears the console output.');
}
public override async action() {
app().gui().widget('console').clear();
}
}
module.exports = Command;