1
0
mirror of https://github.com/laurent22/joplin.git synced 2024-12-30 10:36:35 +02:00
joplin/CliClient/app/command-undone.js
2017-09-24 15:48:23 +01:00

27 lines
593 B
JavaScript

import { BaseCommand } from './base-command.js';
import { app } from './app.js';
import { _ } from 'lib/locale.js';
import { BaseModel } from 'lib/base-model.js';
import { Folder } from 'lib/models/folder.js';
import { Note } from 'lib/models/note.js';
import { time } from 'lib/time-utils.js';
const CommandDone = require('./command-done.js');
class Command extends BaseCommand {
usage() {
return 'undone <note>';
}
description() {
return _('Marks a todo as non-completed.');
}
async action(args) {
await CommandDone.handleAction(args, false);
}
}
module.exports = Command;