soluser 1.0.6 → 1.0.8
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/bin/index.js +4 -1
- package/package.json +3 -1
package/bin/index.js
CHANGED
|
@@ -13,7 +13,10 @@ const checkBalance = require('../src/commands/balance');
|
|
|
13
13
|
// Import the airdrop command
|
|
14
14
|
const requestAirdrop = require('../src/commands/airdrop');
|
|
15
15
|
|
|
16
|
-
|
|
16
|
+
// Get version from package.json
|
|
17
|
+
const packageJson = require('../package.json');
|
|
18
|
+
// Set program version
|
|
19
|
+
program.version(packageJson.version);
|
|
17
20
|
|
|
18
21
|
// 定义地址查询命令
|
|
19
22
|
program
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "soluser",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.8",
|
|
4
4
|
"description": "A CLI tool to manage Solana accounts (new, switch, list)",
|
|
5
5
|
"main": "bin/index.js",
|
|
6
6
|
"bin": {
|
|
@@ -15,6 +15,8 @@
|
|
|
15
15
|
"author": "guahuzi",
|
|
16
16
|
"license": "MIT",
|
|
17
17
|
"dependencies": {
|
|
18
|
+
"cli-table3": "^0.6.5",
|
|
19
|
+
"commander": "^14.0.2"
|
|
18
20
|
},
|
|
19
21
|
"repository": {
|
|
20
22
|
"type": "git",
|