@trust-ethos/cli 0.0.5
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/LICENSE +21 -0
- package/README.md +1791 -0
- package/bin/dev.cmd +3 -0
- package/bin/dev.js +5 -0
- package/bin/run.cmd +3 -0
- package/bin/run.js +5 -0
- package/dist/commands/auction/active.d.ts +10 -0
- package/dist/commands/auction/active.js +39 -0
- package/dist/commands/auction/info.d.ts +16 -0
- package/dist/commands/auction/info.js +46 -0
- package/dist/commands/auction/list.d.ts +14 -0
- package/dist/commands/auction/list.js +61 -0
- package/dist/commands/broker/info.d.ts +16 -0
- package/dist/commands/broker/info.js +37 -0
- package/dist/commands/broker/list.d.ts +15 -0
- package/dist/commands/broker/list.js +62 -0
- package/dist/commands/config/get.d.ts +9 -0
- package/dist/commands/config/get.js +29 -0
- package/dist/commands/config/path.d.ts +6 -0
- package/dist/commands/config/path.js +12 -0
- package/dist/commands/config/set.d.ts +9 -0
- package/dist/commands/config/set.js +28 -0
- package/dist/commands/listing/info.d.ts +13 -0
- package/dist/commands/listing/info.js +41 -0
- package/dist/commands/listing/list.d.ts +13 -0
- package/dist/commands/listing/list.js +46 -0
- package/dist/commands/listing/voters.d.ts +19 -0
- package/dist/commands/listing/voters.js +48 -0
- package/dist/commands/market/featured.d.ts +10 -0
- package/dist/commands/market/featured.js +34 -0
- package/dist/commands/market/holders.d.ts +14 -0
- package/dist/commands/market/holders.js +46 -0
- package/dist/commands/market/info.d.ts +14 -0
- package/dist/commands/market/info.js +48 -0
- package/dist/commands/market/list.d.ts +16 -0
- package/dist/commands/market/list.js +55 -0
- package/dist/commands/nft/list.d.ts +15 -0
- package/dist/commands/nft/list.js +64 -0
- package/dist/commands/review/info.d.ts +17 -0
- package/dist/commands/review/info.js +49 -0
- package/dist/commands/review/list.d.ts +16 -0
- package/dist/commands/review/list.js +68 -0
- package/dist/commands/review/votes.d.ts +21 -0
- package/dist/commands/review/votes.js +91 -0
- package/dist/commands/score/status.d.ts +13 -0
- package/dist/commands/score/status.js +54 -0
- package/dist/commands/slash/info.d.ts +16 -0
- package/dist/commands/slash/info.js +42 -0
- package/dist/commands/slash/list.d.ts +15 -0
- package/dist/commands/slash/list.js +50 -0
- package/dist/commands/slash/votes.d.ts +21 -0
- package/dist/commands/slash/votes.js +91 -0
- package/dist/commands/user/activity.d.ts +15 -0
- package/dist/commands/user/activity.js +71 -0
- package/dist/commands/user/info.d.ts +14 -0
- package/dist/commands/user/info.js +51 -0
- package/dist/commands/user/invitations.d.ts +16 -0
- package/dist/commands/user/invitations.js +73 -0
- package/dist/commands/user/search.d.ts +15 -0
- package/dist/commands/user/search.js +59 -0
- package/dist/commands/user/summary.d.ts +14 -0
- package/dist/commands/user/summary.js +134 -0
- package/dist/commands/validator/info.d.ts +13 -0
- package/dist/commands/validator/info.js +53 -0
- package/dist/commands/validator/list.d.ts +13 -0
- package/dist/commands/validator/list.js +64 -0
- package/dist/commands/validator/sales.d.ts +12 -0
- package/dist/commands/validator/sales.js +52 -0
- package/dist/commands/vouch/info.d.ts +17 -0
- package/dist/commands/vouch/info.js +53 -0
- package/dist/commands/vouch/list.d.ts +18 -0
- package/dist/commands/vouch/list.js +89 -0
- package/dist/commands/vouch/mutual.d.ts +15 -0
- package/dist/commands/vouch/mutual.js +68 -0
- package/dist/commands/vouch/votes.d.ts +21 -0
- package/dist/commands/vouch/votes.js +91 -0
- package/dist/commands/xp/rank.d.ts +15 -0
- package/dist/commands/xp/rank.js +74 -0
- package/dist/commands/xp/seasons.d.ts +10 -0
- package/dist/commands/xp/seasons.js +42 -0
- package/dist/hooks/init.d.ts +3 -0
- package/dist/hooks/init.js +40 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -0
- package/dist/lib/api/echo-client.d.ts +624 -0
- package/dist/lib/api/echo-client.js +408 -0
- package/dist/lib/config/index.d.ts +6 -0
- package/dist/lib/config/index.js +32 -0
- package/dist/lib/errors/cli-error.d.ts +23 -0
- package/dist/lib/errors/cli-error.js +57 -0
- package/dist/lib/formatting/colors.d.ts +13 -0
- package/dist/lib/formatting/colors.js +22 -0
- package/dist/lib/formatting/error.d.ts +1 -0
- package/dist/lib/formatting/error.js +64 -0
- package/dist/lib/formatting/output.d.ts +45 -0
- package/dist/lib/formatting/output.js +753 -0
- package/dist/lib/help.d.ts +4 -0
- package/dist/lib/help.js +28 -0
- package/dist/lib/update/index.d.ts +37 -0
- package/dist/lib/update/index.js +286 -0
- package/dist/lib/validation/userkey.d.ts +11 -0
- package/dist/lib/validation/userkey.js +81 -0
- package/oclif.manifest.json +2224 -0
- package/package.json +87 -0
package/package.json
ADDED
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@trust-ethos/cli",
|
|
3
|
+
"description": "Official Ethos CLI - Query user profiles, XP balances, and reputation data",
|
|
4
|
+
"version": "0.0.5",
|
|
5
|
+
"author": "Ethos Network",
|
|
6
|
+
"bin": {
|
|
7
|
+
"ethos": "./bin/run.js"
|
|
8
|
+
},
|
|
9
|
+
"bugs": "https://github.com/trust-ethos/ethos-cli/issues",
|
|
10
|
+
"dependencies": {
|
|
11
|
+
"@oclif/core": "^4",
|
|
12
|
+
"@oclif/plugin-autocomplete": "^3.2.40",
|
|
13
|
+
"@oclif/plugin-help": "^6",
|
|
14
|
+
"picocolors": "^1.1.1",
|
|
15
|
+
"zod": "^3.24.1"
|
|
16
|
+
},
|
|
17
|
+
"devDependencies": {
|
|
18
|
+
"@eslint/compat": "^1",
|
|
19
|
+
"@oclif/prettier-config": "^0.2.1",
|
|
20
|
+
"@oclif/test": "^4",
|
|
21
|
+
"@types/bun": "latest",
|
|
22
|
+
"@types/node": "^18",
|
|
23
|
+
"oclif": "^4",
|
|
24
|
+
"shx": "^0.3.3",
|
|
25
|
+
"typescript": "^5"
|
|
26
|
+
},
|
|
27
|
+
"engines": {
|
|
28
|
+
"node": ">=18.0.0"
|
|
29
|
+
},
|
|
30
|
+
"files": [
|
|
31
|
+
"./bin",
|
|
32
|
+
"./dist",
|
|
33
|
+
"./oclif.manifest.json"
|
|
34
|
+
],
|
|
35
|
+
"homepage": "https://github.com/trust-ethos/ethos-cli",
|
|
36
|
+
"keywords": [
|
|
37
|
+
"ethos",
|
|
38
|
+
"reputation",
|
|
39
|
+
"xp",
|
|
40
|
+
"web3",
|
|
41
|
+
"cli"
|
|
42
|
+
],
|
|
43
|
+
"license": "MIT",
|
|
44
|
+
"main": "dist/index.js",
|
|
45
|
+
"type": "module",
|
|
46
|
+
"oclif": {
|
|
47
|
+
"bin": "ethos",
|
|
48
|
+
"dirname": "ethos",
|
|
49
|
+
"commands": "./dist/commands",
|
|
50
|
+
"helpClass": "./dist/lib/help",
|
|
51
|
+
"helpOptions": {
|
|
52
|
+
"hideAliasesFromRoot": true
|
|
53
|
+
},
|
|
54
|
+
"hooks": {
|
|
55
|
+
"init": "./dist/hooks/init"
|
|
56
|
+
},
|
|
57
|
+
"plugins": [
|
|
58
|
+
"@oclif/plugin-help",
|
|
59
|
+
"@oclif/plugin-autocomplete"
|
|
60
|
+
],
|
|
61
|
+
"topicSeparator": " ",
|
|
62
|
+
"topics": {
|
|
63
|
+
"user": {
|
|
64
|
+
"description": "Query user profiles and information"
|
|
65
|
+
},
|
|
66
|
+
"xp": {
|
|
67
|
+
"description": "Query XP balances, seasons, and leaderboards"
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
},
|
|
71
|
+
"repository": "trust-ethos/ethos-cli",
|
|
72
|
+
"scripts": {
|
|
73
|
+
"build": "bun run build:ts",
|
|
74
|
+
"build:ts": "shx rm -rf dist && tsc -b",
|
|
75
|
+
"build:binaries": "./scripts/build-binaries.sh",
|
|
76
|
+
"dev": "./bin/dev.js",
|
|
77
|
+
"lint": "oxlint src || true",
|
|
78
|
+
"postpack": "shx rm -f oclif.manifest.json",
|
|
79
|
+
"prepack": "oclif manifest && oclif readme",
|
|
80
|
+
"readme": "oclif readme",
|
|
81
|
+
"test": "bun test",
|
|
82
|
+
"test:watch": "bun test --watch",
|
|
83
|
+
"typecheck": "tsc --noEmit",
|
|
84
|
+
"version": "oclif readme && git add README.md"
|
|
85
|
+
},
|
|
86
|
+
"types": "dist/index.d.ts"
|
|
87
|
+
}
|