seomd-cli 1.0.0 → 1.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.
Files changed (2) hide show
  1. package/README.md +85 -0
  2. package/package.json +8 -4
package/README.md ADDED
@@ -0,0 +1,85 @@
1
+ # seomd-cli
2
+
3
+ The official command-line interface for the **SEO.md** open standard — AEO (AI Engine Optimization) infrastructure for technical founders.
4
+
5
+ Use the CLI to scaffold, validate, analyze, and synchronize `SEO.md` configuration files directly from your workspace.
6
+
7
+ ---
8
+
9
+ ## Installation
10
+
11
+ Install the CLI globally using `npm`:
12
+
13
+ ```bash
14
+ npm install -g seomd-cli
15
+ ```
16
+
17
+ ---
18
+
19
+ ## Quick Start
20
+
21
+ ### 1. Initialize a Specification
22
+ Run the interactive setup in the root of your project to generate a tailored `SEO.md` file:
23
+
24
+ ```bash
25
+ seomd init
26
+ ```
27
+ The CLI will ask you five quick questions (e.g., brand name, domain, site type, primary keyword, and competitors) and scaffold the format matching your site type (SaaS, Blog, eCommerce, Marketplace, or Local).
28
+
29
+ ### 2. Validate the File
30
+ Verify that your local file complies with the official open specification rules:
31
+
32
+ ```bash
33
+ seomd validate
34
+ ```
35
+
36
+ ### 3. Check Local Status
37
+ Check validation state and connection parameters:
38
+
39
+ ```bash
40
+ seomd status
41
+ ```
42
+
43
+ ---
44
+
45
+ ## Command Reference
46
+
47
+ ### `seomd init`
48
+ Scaffolds a new `SEO.md` file in the current working directory.
49
+
50
+ ### `seomd validate`
51
+ Validates the structural integrity and required fields of your `SEO.md` file.
52
+
53
+ ### `seomd status`
54
+ Displays local validation results, connected platforms, and project identification.
55
+
56
+ ### `seomd analyze`
57
+ Analyzes your local specification and requests search visibility summaries from your connected platform.
58
+
59
+ ### `seomd sync`
60
+ Synchronizes live engine analysis blocks, keyword gap scores, and cited sources from your connected writeback platform.
61
+
62
+ ---
63
+
64
+ ## Platform Connections & API Keys
65
+
66
+ To enable live citation writebacks (using automated platforms like [Foxcite](https://foxcite.com)):
67
+
68
+ 1. Obtain a developer API key from your platform provider.
69
+ 2. Export the key as an environment variable:
70
+ ```bash
71
+ export SEOMD_API_KEY="your_api_key_here"
72
+ ```
73
+ 3. Run `seomd sync` or `seomd analyze`.
74
+
75
+ *Note: Never commit your API keys or `.env` files containing keys to version control.*
76
+
77
+ ---
78
+
79
+ ## Specification Reference
80
+
81
+ Read the complete specification and guidelines at [seomd.dev/spec](https://seomd.dev/spec).
82
+
83
+ ## License
84
+
85
+ MIT License. Developed and maintained by the community.
package/package.json CHANGED
@@ -1,17 +1,21 @@
1
1
  {
2
2
  "name": "seomd-cli",
3
- "version": "1.0.0",
3
+ "version": "1.0.2",
4
4
  "description": "The official CLI for the SEO.md open standard — AEO infrastructure for technical founders",
5
5
  "homepage": "https://seomd.dev",
6
6
  "repository": {
7
7
  "type": "git",
8
- "url": "https://github.com/seomd/seomd-cli"
8
+ "url": "git+https://github.com/seomd/cli.git"
9
9
  },
10
10
  "license": "MIT",
11
11
  "type": "module",
12
12
  "bin": {
13
- "seomd": "./bin/seomd.js"
13
+ "seomd": "bin/seomd.js"
14
14
  },
15
+ "files": [
16
+ "bin",
17
+ "src"
18
+ ],
15
19
  "scripts": {
16
20
  "dev": "node bin/seomd.js",
17
21
  "test": "node --experimental-vm-modules node_modules/.bin/jest",
@@ -43,4 +47,4 @@
43
47
  "citation-tracking",
44
48
  "llm-seo"
45
49
  ]
46
- }
50
+ }