@hostlink/hostlink-cli 1.0.1 → 1.0.3

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.
Files changed (3) hide show
  1. package/dist/bundle.js +32885 -30
  2. package/index.js +3 -1
  3. package/package.json +3 -2
package/index.js CHANGED
@@ -7,6 +7,7 @@ const domains = require('./src/domains');
7
7
  const quotations = require('./src/quotations');
8
8
  const quotationItems = require('./src/quotation-items');
9
9
  const me = require('./src/me');
10
+ const leave = require('./src/leave');
10
11
 
11
12
  const config = new Conf({ projectName: 'hostlink-cli' });
12
13
 
@@ -15,7 +16,7 @@ const program = new Command();
15
16
  program
16
17
  .name('hostlink')
17
18
  .description('HostLink CLI')
18
- .version('1.0.0');
19
+ .version(require('./package.json').version);
19
20
 
20
21
  program
21
22
  .command('set-token <token>')
@@ -30,5 +31,6 @@ clients.register(program);
30
31
  domains.register(program);
31
32
  quotations.register(program);
32
33
  quotationItems.register(program);
34
+ leave.register(program);
33
35
 
34
36
  program.parse(process.argv);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hostlink/hostlink-cli",
3
- "version": "1.0.1",
3
+ "version": "1.0.3",
4
4
  "description": "CLI tool for the HostLink platform",
5
5
  "main": "index.js",
6
6
  "bin": {
@@ -30,7 +30,8 @@
30
30
  "dependencies": {
31
31
  "commander": "^14.0.3",
32
32
  "conf": "^10.2.0",
33
- "graphql-request": "^7.4.0"
33
+ "graphql-request": "^7.4.0",
34
+ "inquirer": "^8.2.6"
34
35
  },
35
36
  "devDependencies": {
36
37
  "esbuild": "^0.27.4"