1 | module.exports = class Command {
|
2 | constructor() {
|
3 | this.init = true;
|
4 | }
|
5 |
|
6 | // eslint-disable-next-line class-methods-use-this
|
7 | help() {
|
8 | return '<base>';
|
9 | }
|
10 |
|
11 | run(/* cli */) {}
|
12 | };
|
13 |
|
14 | module.exports.CommandError = class CommandError extends Error {
|
15 | constructor(...args) {
|
16 | super(...args);
|
17 | this.name = 'CommandError';
|
18 | }
|
19 | };
|