diff --git a/src/stdin/exit.js b/src/stdin/exit.js new file mode 100644 index 0000000..e58317e --- /dev/null +++ b/src/stdin/exit.js @@ -0,0 +1,15 @@ +const { StdinCommand } = require('@eartharoid/dbf'); + +module.exports = class extends StdinCommand { + constructor(client, options) { + super(client, { + ...options, + id: 'exit', + }); + } + + async run() { + this.client.log.info('Exiting'); + process.exit(); + } +}; \ No newline at end of file