lystbot 0.2.0 → 0.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/index.js +2 -1
package/package.json
CHANGED
package/src/index.js
CHANGED
|
@@ -5,13 +5,14 @@ const { randomUUID } = require('crypto');
|
|
|
5
5
|
const readline = require('readline');
|
|
6
6
|
const config = require('./config');
|
|
7
7
|
const api = require('./api');
|
|
8
|
+
const pkg = require('../package.json');
|
|
8
9
|
|
|
9
10
|
const program = new Command();
|
|
10
11
|
|
|
11
12
|
program
|
|
12
13
|
.name('lystbot')
|
|
13
14
|
.description('📋 LystBot CLI - Manage your lists from the terminal')
|
|
14
|
-
.version(
|
|
15
|
+
.version(pkg.version)
|
|
15
16
|
.option('--api <url>', 'Use custom API URL')
|
|
16
17
|
.hook('preAction', () => {
|
|
17
18
|
const opts = program.opts();
|