@timbrix/cli 0.1.0
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/README.md +319 -0
- package/bin/run.js +5 -0
- package/dist/commands/api-keys/create.d.ts +12 -0
- package/dist/commands/api-keys/create.d.ts.map +1 -0
- package/dist/commands/api-keys/create.js +65 -0
- package/dist/commands/api-keys/delete.d.ts +14 -0
- package/dist/commands/api-keys/delete.d.ts.map +1 -0
- package/dist/commands/api-keys/delete.js +55 -0
- package/dist/commands/api-keys/get.d.ts +13 -0
- package/dist/commands/api-keys/get.d.ts.map +1 -0
- package/dist/commands/api-keys/get.js +46 -0
- package/dist/commands/api-keys/list.d.ts +10 -0
- package/dist/commands/api-keys/list.d.ts.map +1 -0
- package/dist/commands/api-keys/list.js +61 -0
- package/dist/commands/login.d.ts +11 -0
- package/dist/commands/login.d.ts.map +1 -0
- package/dist/commands/login.js +67 -0
- package/dist/commands/logout.d.ts +7 -0
- package/dist/commands/logout.d.ts.map +1 -0
- package/dist/commands/logout.js +19 -0
- package/dist/commands/oauth-apps/create.d.ts +12 -0
- package/dist/commands/oauth-apps/create.d.ts.map +1 -0
- package/dist/commands/oauth-apps/create.js +96 -0
- package/dist/commands/oauth-apps/delete.d.ts +13 -0
- package/dist/commands/oauth-apps/delete.d.ts.map +1 -0
- package/dist/commands/oauth-apps/delete.js +49 -0
- package/dist/commands/oauth-apps/get.d.ts +10 -0
- package/dist/commands/oauth-apps/get.d.ts.map +1 -0
- package/dist/commands/oauth-apps/get.js +41 -0
- package/dist/commands/oauth-apps/list.d.ts +10 -0
- package/dist/commands/oauth-apps/list.d.ts.map +1 -0
- package/dist/commands/oauth-apps/list.js +55 -0
- package/dist/commands/organizations/create.d.ts +11 -0
- package/dist/commands/organizations/create.d.ts.map +1 -0
- package/dist/commands/organizations/create.js +69 -0
- package/dist/commands/organizations/delete.d.ts +13 -0
- package/dist/commands/organizations/delete.d.ts.map +1 -0
- package/dist/commands/organizations/delete.js +50 -0
- package/dist/commands/organizations/get.d.ts +10 -0
- package/dist/commands/organizations/get.d.ts.map +1 -0
- package/dist/commands/organizations/get.js +46 -0
- package/dist/commands/organizations/list.d.ts +7 -0
- package/dist/commands/organizations/list.d.ts.map +1 -0
- package/dist/commands/organizations/list.js +40 -0
- package/dist/commands/products/create.d.ts +17 -0
- package/dist/commands/products/create.d.ts.map +1 -0
- package/dist/commands/products/create.js +112 -0
- package/dist/commands/products/delete.d.ts +12 -0
- package/dist/commands/products/delete.d.ts.map +1 -0
- package/dist/commands/products/delete.js +52 -0
- package/dist/commands/products/get.d.ts +11 -0
- package/dist/commands/products/get.d.ts.map +1 -0
- package/dist/commands/products/get.js +54 -0
- package/dist/commands/products/list.d.ts +13 -0
- package/dist/commands/products/list.d.ts.map +1 -0
- package/dist/commands/products/list.js +75 -0
- package/dist/commands/products/update.d.ts +18 -0
- package/dist/commands/products/update.d.ts.map +1 -0
- package/dist/commands/products/update.js +86 -0
- package/dist/commands/update.d.ts +16 -0
- package/dist/commands/update.d.ts.map +1 -0
- package/dist/commands/update.js +91 -0
- package/dist/commands/webhooks/create.d.ts +11 -0
- package/dist/commands/webhooks/create.d.ts.map +1 -0
- package/dist/commands/webhooks/create.js +120 -0
- package/dist/commands/webhooks/delete.d.ts +14 -0
- package/dist/commands/webhooks/delete.d.ts.map +1 -0
- package/dist/commands/webhooks/delete.js +55 -0
- package/dist/commands/webhooks/get.d.ts +13 -0
- package/dist/commands/webhooks/get.d.ts.map +1 -0
- package/dist/commands/webhooks/get.js +45 -0
- package/dist/commands/webhooks/list.d.ts +10 -0
- package/dist/commands/webhooks/list.d.ts.map +1 -0
- package/dist/commands/webhooks/list.js +49 -0
- package/dist/config/auth.d.ts +31 -0
- package/dist/config/auth.d.ts.map +1 -0
- package/dist/config/auth.js +57 -0
- package/dist/help.d.ts +16 -0
- package/dist/help.d.ts.map +1 -0
- package/dist/help.js +22 -0
- package/dist/hooks/init/update-check.d.ts +8 -0
- package/dist/hooks/init/update-check.d.ts.map +1 -0
- package/dist/hooks/init/update-check.js +9 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +1 -0
- package/dist/utils/client.d.ts +6 -0
- package/dist/utils/client.d.ts.map +1 -0
- package/dist/utils/client.js +18 -0
- package/dist/utils/error.d.ts +6 -0
- package/dist/utils/error.d.ts.map +1 -0
- package/dist/utils/error.js +15 -0
- package/dist/utils/logo.d.ts +14 -0
- package/dist/utils/logo.d.ts.map +1 -0
- package/dist/utils/logo.js +27 -0
- package/dist/utils/table.d.ts +6 -0
- package/dist/utils/table.d.ts.map +1 -0
- package/dist/utils/table.js +30 -0
- package/dist/utils/update-notifier.d.ts +13 -0
- package/dist/utils/update-notifier.d.ts.map +1 -0
- package/dist/utils/update-notifier.js +19 -0
- package/oclif.manifest.json +1054 -0
- package/package.json +71 -0
- package/theme.json +27 -0
package/package.json
ADDED
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@timbrix/cli",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "CLI tool for Timbrix API",
|
|
5
|
+
"author": "Ivan Sotelo",
|
|
6
|
+
"bin": {
|
|
7
|
+
"timbrix": "./bin/run.js"
|
|
8
|
+
},
|
|
9
|
+
"type": "module",
|
|
10
|
+
"exports": "./dist/index.js",
|
|
11
|
+
"types": "./dist/index.d.ts",
|
|
12
|
+
"files": [
|
|
13
|
+
"/bin",
|
|
14
|
+
"/dist",
|
|
15
|
+
"/oclif.manifest.json",
|
|
16
|
+
"/theme.json"
|
|
17
|
+
],
|
|
18
|
+
"keywords": [
|
|
19
|
+
"timbrix",
|
|
20
|
+
"cli",
|
|
21
|
+
"oclif"
|
|
22
|
+
],
|
|
23
|
+
"license": "MIT",
|
|
24
|
+
"dependencies": {
|
|
25
|
+
"@inquirer/prompts": "^8.3.2",
|
|
26
|
+
"@oclif/core": "^4.10.3",
|
|
27
|
+
"@oclif/plugin-help": "^6.2.41",
|
|
28
|
+
"@oclif/plugin-plugins": "^5.4.59",
|
|
29
|
+
"chalk": "^5.6.2",
|
|
30
|
+
"cli-table3": "^0.6.5",
|
|
31
|
+
"conf": "^15.1.0",
|
|
32
|
+
"ky": "^1.14.3",
|
|
33
|
+
"ora": "^9.3.0",
|
|
34
|
+
"update-notifier": "^7.3.1",
|
|
35
|
+
"@timbrix/sdk": "0.1.0"
|
|
36
|
+
},
|
|
37
|
+
"devDependencies": {
|
|
38
|
+
"@types/node": "^25.5.0",
|
|
39
|
+
"@types/update-notifier": "^6.0.8",
|
|
40
|
+
"oclif": "^4.22.96",
|
|
41
|
+
"shx": "^0.4.0",
|
|
42
|
+
"tsx": "^4.21.0",
|
|
43
|
+
"typescript": "^5.9.3",
|
|
44
|
+
"@repo/eslint-config": "0.1.0",
|
|
45
|
+
"@repo/typescript-config": "0.1.0"
|
|
46
|
+
},
|
|
47
|
+
"oclif": {
|
|
48
|
+
"bin": "timbrix",
|
|
49
|
+
"dirname": "timbrix",
|
|
50
|
+
"commands": "./dist/commands",
|
|
51
|
+
"helpClass": "./dist/help",
|
|
52
|
+
"hooks": {
|
|
53
|
+
"init": "./dist/hooks/init/update-check"
|
|
54
|
+
},
|
|
55
|
+
"plugins": [
|
|
56
|
+
"@oclif/plugin-help",
|
|
57
|
+
"@oclif/plugin-plugins"
|
|
58
|
+
],
|
|
59
|
+
"theme": "theme.json",
|
|
60
|
+
"topicSeparator": " "
|
|
61
|
+
},
|
|
62
|
+
"engines": {
|
|
63
|
+
"node": ">=18.0.0"
|
|
64
|
+
},
|
|
65
|
+
"scripts": {
|
|
66
|
+
"build": "shx rm -rf dist && tsc -b",
|
|
67
|
+
"dev": "tsx watch ./src/index.ts",
|
|
68
|
+
"lint": "eslint \"src/**/*.ts\" --fix",
|
|
69
|
+
"check-types": "tsc --noEmit"
|
|
70
|
+
}
|
|
71
|
+
}
|
package/theme.json
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
{
|
|
2
|
+
"bin": "cyan",
|
|
3
|
+
"command": "greenBright",
|
|
4
|
+
"commandSummary": "white",
|
|
5
|
+
"dollarSign": "cyan",
|
|
6
|
+
"flag": "blueBright",
|
|
7
|
+
"flagDefaultValue": "dim",
|
|
8
|
+
"flagOptions": "yellow",
|
|
9
|
+
"flagRequired": "redBright",
|
|
10
|
+
"flagSeparator": "dim",
|
|
11
|
+
"sectionDescription": "white",
|
|
12
|
+
"sectionHeader": "cyanBright",
|
|
13
|
+
"topic": "greenBright",
|
|
14
|
+
"version": "dim",
|
|
15
|
+
"spinner": "cyan",
|
|
16
|
+
"json": {
|
|
17
|
+
"brace": "magentaBright",
|
|
18
|
+
"bracket": "magentaBright",
|
|
19
|
+
"colon": "dim",
|
|
20
|
+
"comma": "dim",
|
|
21
|
+
"key": "cyanBright",
|
|
22
|
+
"string": "greenBright",
|
|
23
|
+
"number": "blueBright",
|
|
24
|
+
"boolean": "yellowBright",
|
|
25
|
+
"null": "red"
|
|
26
|
+
}
|
|
27
|
+
}
|