tsoft-cli 1.0.0 → 1.0.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.
Files changed (2) hide show
  1. package/bin/tsoft-cli.js +1 -21
  2. package/package.json +4 -1
package/bin/tsoft-cli.js CHANGED
@@ -4,7 +4,7 @@ const { program } = require('commander');
4
4
  const inquirer = require('inquirer');
5
5
 
6
6
  program
7
- .version('1.0.0')
7
+ .version('1.0.1')
8
8
  .description('TSoft CLI');
9
9
 
10
10
  program
@@ -14,24 +14,4 @@ program
14
14
  console.log('Project initialized.');
15
15
  });
16
16
 
17
- program
18
- .command('login')
19
- .description('Login to your account')
20
- .action(() => {
21
- inquirer.prompt([
22
- {
23
- type: 'input',
24
- name: 'username',
25
- message: 'Enter your username:'
26
- },
27
- {
28
- type: 'password',
29
- name: 'password',
30
- message: 'Enter your password:'
31
- }
32
- ]).then(answers => {
33
- console.log('Logging in with:', answers);
34
- });
35
- });
36
-
37
17
  program.parse(process.argv);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tsoft-cli",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -9,6 +9,9 @@
9
9
  "keywords": [],
10
10
  "author": "",
11
11
  "license": "ISC",
12
+ "bin": {
13
+ "tsoft-cli": "./bin/tsoft-cli.js"
14
+ },
12
15
  "dependencies": {
13
16
  "commander": "^12.1.0",
14
17
  "inquirer": "^9.2.23"