@remcp/docsy-cli 0.1.0 → 0.1.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 +1 -1
- package/dist/help.js +5 -0
- package/dist/index.js +2 -1
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -20,6 +20,6 @@ docsy mcp
|
|
|
20
20
|
|
|
21
21
|
For one-off use, run `npx @remcp/docsy-cli --help`.
|
|
22
22
|
|
|
23
|
-
The `@remcp/docsy-cli` package
|
|
23
|
+
The `@remcp/docsy-cli` package declares an exact compatible `@remcp/docsy-sdk` dependency; the SDK must be published first. Anonymous queries are limited to public documentation. MIT License, copyright Anton Baider.
|
|
24
24
|
|
|
25
25
|
Documentation: https://docsy.remcp.site/docs
|
package/dist/help.js
ADDED
package/dist/index.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { Docsy } from "@remcp/docsy-sdk";
|
|
3
3
|
import { setup } from "./setup.js";
|
|
4
|
+
import { wantsHelp } from "./help.js";
|
|
4
5
|
const args = process.argv.slice(2);
|
|
5
6
|
const command = args.shift();
|
|
6
7
|
const value = (flag) => { const i = args.indexOf(flag); return i >= 0 ? args[i + 1] : undefined; };
|
|
@@ -38,7 +39,7 @@ function help() {
|
|
|
38
39
|
].join("\n"));
|
|
39
40
|
}
|
|
40
41
|
async function main() {
|
|
41
|
-
if (
|
|
42
|
+
if (wantsHelp(command, args)) {
|
|
42
43
|
help();
|
|
43
44
|
return;
|
|
44
45
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@remcp/docsy-cli",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.2",
|
|
4
4
|
"description": "Docsy CLI for current documentation and MCP setup",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
"lint": "eslint src test --ext .ts,.tsx,.js,.mjs"
|
|
18
18
|
},
|
|
19
19
|
"dependencies": {
|
|
20
|
-
"@remcp/docsy-sdk": "0.1.
|
|
20
|
+
"@remcp/docsy-sdk": "0.1.1"
|
|
21
21
|
},
|
|
22
22
|
"devDependencies": {
|
|
23
23
|
"@types/node": "^24.10.0",
|
|
@@ -30,11 +30,11 @@
|
|
|
30
30
|
},
|
|
31
31
|
"repository": {
|
|
32
32
|
"type": "git",
|
|
33
|
-
"url": "git+https://github.com/
|
|
33
|
+
"url": "git+https://github.com/getremcp/docsy.git",
|
|
34
34
|
"directory": "packages/cli"
|
|
35
35
|
},
|
|
36
36
|
"homepage": "https://docsy.remcp.site/",
|
|
37
37
|
"bugs": {
|
|
38
|
-
"url": "https://github.com/
|
|
38
|
+
"url": "https://github.com/getremcp/docsy/issues"
|
|
39
39
|
}
|
|
40
40
|
}
|