1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-01-14 18:27:44 +02:00
joplin/CliClient/app/command-version.js
2017-07-10 20:03:46 +00:00

20 lines
344 B
JavaScript

import { BaseCommand } from './base-command.js';
class Command extends BaseCommand {
usage() {
return 'version';
}
description() {
return 'Displays version information';
}
async ction(args) {
const packageJson = require('./package.json');
this.log(packageJson.name + ' ' + packageJson.version);
}
}
module.exports = Command;