@xano/cli 0.0.2
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 +1200 -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/base-command.d.ts +11 -0
- package/dist/base-command.js +40 -0
- package/dist/commands/ephemeral/run/job/index.d.ts +19 -0
- package/dist/commands/ephemeral/run/job/index.js +318 -0
- package/dist/commands/ephemeral/run/service/index.d.ts +18 -0
- package/dist/commands/ephemeral/run/service/index.js +286 -0
- package/dist/commands/function/create/index.d.ts +18 -0
- package/dist/commands/function/create/index.js +280 -0
- package/dist/commands/function/edit/index.d.ts +24 -0
- package/dist/commands/function/edit/index.js +482 -0
- package/dist/commands/function/get/index.d.ts +18 -0
- package/dist/commands/function/get/index.js +279 -0
- package/dist/commands/function/list/index.d.ts +19 -0
- package/dist/commands/function/list/index.js +208 -0
- package/dist/commands/profile/create/index.d.ts +17 -0
- package/dist/commands/profile/create/index.js +123 -0
- package/dist/commands/profile/delete/index.d.ts +14 -0
- package/dist/commands/profile/delete/index.js +124 -0
- package/dist/commands/profile/edit/index.d.ts +18 -0
- package/dist/commands/profile/edit/index.js +129 -0
- package/dist/commands/profile/get-default/index.d.ts +6 -0
- package/dist/commands/profile/get-default/index.js +44 -0
- package/dist/commands/profile/list/index.d.ts +10 -0
- package/dist/commands/profile/list/index.js +115 -0
- package/dist/commands/profile/set-default/index.d.ts +9 -0
- package/dist/commands/profile/set-default/index.js +63 -0
- package/dist/commands/profile/wizard/index.d.ts +15 -0
- package/dist/commands/profile/wizard/index.js +350 -0
- package/dist/commands/static_host/build/create/index.d.ts +18 -0
- package/dist/commands/static_host/build/create/index.js +194 -0
- package/dist/commands/static_host/build/get/index.d.ts +16 -0
- package/dist/commands/static_host/build/get/index.js +165 -0
- package/dist/commands/static_host/build/list/index.d.ts +17 -0
- package/dist/commands/static_host/build/list/index.js +192 -0
- package/dist/commands/static_host/list/index.d.ts +15 -0
- package/dist/commands/static_host/list/index.js +187 -0
- package/dist/commands/workspace/list/index.d.ts +11 -0
- package/dist/commands/workspace/list/index.js +154 -0
- package/dist/help.d.ts +20 -0
- package/dist/help.js +26 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -0
- package/oclif.manifest.json +1370 -0
- package/package.json +79 -0
package/package.json
ADDED
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@xano/cli",
|
|
3
|
+
"description": "XanoScript CLI for Xano's Metadata API",
|
|
4
|
+
"version": "0.0.2",
|
|
5
|
+
"author": "Sean Montgomery",
|
|
6
|
+
"bin": {
|
|
7
|
+
"xano": "./bin/run.js"
|
|
8
|
+
},
|
|
9
|
+
"bugs": "https://github.com/git/xano-cli/issues",
|
|
10
|
+
"dependencies": {
|
|
11
|
+
"@oclif/core": "^4",
|
|
12
|
+
"@oclif/plugin-help": "^6",
|
|
13
|
+
"@oclif/plugin-plugins": "^5",
|
|
14
|
+
"inquirer": "^8.2.5",
|
|
15
|
+
"js-yaml": "^4.1.0"
|
|
16
|
+
},
|
|
17
|
+
"devDependencies": {
|
|
18
|
+
"@eslint/compat": "^1",
|
|
19
|
+
"@oclif/prettier-config": "^0.2.1",
|
|
20
|
+
"@oclif/test": "^4",
|
|
21
|
+
"@types/chai": "^4",
|
|
22
|
+
"@types/inquirer": "^8.2.5",
|
|
23
|
+
"@types/js-yaml": "^4.0.9",
|
|
24
|
+
"@types/mocha": "^10",
|
|
25
|
+
"@types/node": "^18",
|
|
26
|
+
"chai": "^4",
|
|
27
|
+
"eslint": "^9",
|
|
28
|
+
"eslint-config-oclif": "^6",
|
|
29
|
+
"eslint-config-prettier": "^10",
|
|
30
|
+
"mocha": "^10",
|
|
31
|
+
"oclif": "^4",
|
|
32
|
+
"shx": "^0.3.3",
|
|
33
|
+
"ts-node": "^10",
|
|
34
|
+
"typescript": "^5"
|
|
35
|
+
},
|
|
36
|
+
"engines": {
|
|
37
|
+
"node": ">=18.0.0"
|
|
38
|
+
},
|
|
39
|
+
"files": [
|
|
40
|
+
"./bin",
|
|
41
|
+
"./dist",
|
|
42
|
+
"./oclif.manifest.json"
|
|
43
|
+
],
|
|
44
|
+
"homepage": "https://github.com/git/xano-cli",
|
|
45
|
+
"keywords": [
|
|
46
|
+
"oclif"
|
|
47
|
+
],
|
|
48
|
+
"license": "MIT",
|
|
49
|
+
"main": "dist/index.js",
|
|
50
|
+
"type": "module",
|
|
51
|
+
"oclif": {
|
|
52
|
+
"bin": "xano",
|
|
53
|
+
"dirname": "xano",
|
|
54
|
+
"commands": "./dist/commands",
|
|
55
|
+
"helpClass": "./dist/help",
|
|
56
|
+
"plugins": [
|
|
57
|
+
"@oclif/plugin-help",
|
|
58
|
+
"@oclif/plugin-plugins"
|
|
59
|
+
],
|
|
60
|
+
"topicSeparator": " ",
|
|
61
|
+
"topics": {
|
|
62
|
+
"hello": {
|
|
63
|
+
"description": "Say hello to the world and others"
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
},
|
|
67
|
+
"repository": "git/xano-cli",
|
|
68
|
+
"scripts": {
|
|
69
|
+
"build": "shx rm -rf dist && tsc -b",
|
|
70
|
+
"dev": "./bin/dev.js",
|
|
71
|
+
"lint": "eslint",
|
|
72
|
+
"postpack": "shx rm -f oclif.manifest.json",
|
|
73
|
+
"posttest": "npm run lint",
|
|
74
|
+
"prepack": "oclif manifest && oclif readme",
|
|
75
|
+
"test": "mocha --forbid-only \"test/**/*.test.ts\"",
|
|
76
|
+
"version": "oclif readme && git add README.md"
|
|
77
|
+
},
|
|
78
|
+
"types": "dist/index.d.ts"
|
|
79
|
+
}
|