@citemap/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 ADDED
@@ -0,0 +1,42 @@
1
+ # @citemap/cli
2
+
3
+ Command-line tool for working with `citemap.json` files. Validate, score, and initialize CiteMap files directly from your terminal.
4
+
5
+ ## Installation
6
+
7
+ ```bash
8
+ npm install -g @citemap/cli
9
+ ```
10
+
11
+ ## Commands (coming soon)
12
+
13
+ ```bash
14
+ # Validate a citemap.json file
15
+ citemap validate ./citemap.json
16
+
17
+ # Get a completeness score
18
+ citemap score ./citemap.json
19
+
20
+ # Create a starter citemap.json
21
+ citemap init
22
+ ```
23
+
24
+ ## Status
25
+
26
+ This package is under active development. Full CLI functionality will be published soon.
27
+
28
+ ## Related Packages
29
+
30
+ - [`@citemap/schema`](https://www.npmjs.com/package/@citemap/schema) — JSON Schema definition and TypeScript types
31
+ - [`@citemap/validator`](https://www.npmjs.com/package/@citemap/validator) — Validate citemap.json files against the v2.0 spec
32
+ - [`@citemap/generator`](https://www.npmjs.com/package/@citemap/generator) — AI-powered citemap.json generator (BYOK)
33
+
34
+ ## Links
35
+
36
+ - [CiteMap Specification](https://citemaps.org)
37
+ - [CiteMaps.ai](https://citemaps.ai) — Generate and validate CiteMaps online
38
+ - [GitHub](https://github.com/citemaps/citemap)
39
+
40
+ ## License
41
+
42
+ MIT
package/bin/citemap.js ADDED
@@ -0,0 +1,10 @@
1
+ #!/usr/bin/env node
2
+
3
+ console.log("@citemap/cli is under active development.");
4
+ console.log("");
5
+ console.log("Coming soon:");
6
+ console.log(" citemap validate ./citemap.json Validate a CiteMap file");
7
+ console.log(" citemap score ./citemap.json Get completeness score");
8
+ console.log(" citemap init Create a starter citemap.json");
9
+ console.log("");
10
+ console.log("For more info, visit https://citemaps.org");
package/index.js ADDED
@@ -0,0 +1,4 @@
1
+ // @citemap/cli — Command-line tool for citemap.json validation
2
+ // Full implementation coming soon. See https://citemaps.org for the specification.
3
+
4
+ module.exports = {};
package/package.json ADDED
@@ -0,0 +1,20 @@
1
+ {
2
+ "name": "@citemap/cli",
3
+ "version": "0.1.0",
4
+ "description": "Command-line tool for validating citemap.json files against the v2.0 specification",
5
+ "main": "index.js",
6
+ "bin": {
7
+ "citemap": "./bin/citemap.js"
8
+ },
9
+ "keywords": ["citemap", "cli", "validator", "json-schema", "seo", "ai", "structured-data"],
10
+ "author": "CiteMaps.ai",
11
+ "license": "MIT",
12
+ "homepage": "https://citemaps.org",
13
+ "repository": {
14
+ "type": "git",
15
+ "url": "https://github.com/citemaps/citemap"
16
+ },
17
+ "bugs": {
18
+ "url": "https://github.com/citemaps/citemap/issues"
19
+ }
20
+ }