You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: calm-ai/tools/calm-cli-instructions.md
+1-14Lines changed: 1 addition & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -21,7 +21,7 @@ Run `calm` with no arguments to see the top-level help:
21
21
calm
22
22
```
23
23
24
-
This displays available commands such as `generate`, `validate`, `init-ai`, `server`, `template`, and `docify`.
24
+
This displays available commands such as `generate`, `validate`, `init-ai`, `template`, and `docify`.
25
25
26
26
## Generate Architectures from Patterns
27
27
@@ -134,19 +134,6 @@ At present Github Copilot (`copilot`), AWS Kiro (`kiro`), and Claude Code (`clau
134
134
135
135
This generates custom prompts for the specified <provider> to use CALM-aware tools (nodes, relationships, interfaces, controls, flows, patterns, metadata).
136
136
137
-
## CLI Server (Experimental)
138
-
139
-
Expose CLI functionality over HTTP:
140
-
141
-
```shell
142
-
calm server --schema-directory <path>
143
-
```
144
-
145
-
Endpoints (default `http://127.0.0.1:3000`):
146
-
147
-
-`GET /health` for health checks
148
-
-`POST /calm/validate` with a CALM model payload to validate
149
-
150
137
## Template Command
151
138
152
139
Generate arbitrary files from CALM models using Handlebars bundles:
Copy file name to clipboardExpand all lines: cli/README.md
-27Lines changed: 0 additions & 27 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -33,7 +33,6 @@ Options:
33
33
Commands:
34
34
generate [options] Generate an architecture from a CALM pattern file.
35
35
validate [options] Validate that an architecture conforms to a given CALM pattern.
36
-
server [options] Start a HTTP server to proxy CLI commands. (experimental)
37
36
template [options] Generate files from a CALM model using a Handlebars template bundle.
38
37
docify [options] Generate a documentation website off your CALM model.
39
38
init-ai [options] Augment a git repository with AI assistance for CALM
@@ -240,32 +239,6 @@ WARN issues:
240
239
which is just letting you know that you have left in some placeholder values which might have been generated with the generate command.
241
240
This isn't a full break, but it implies that you've forgotten to fill out a detail in your architecture.
242
241
243
-
## Calm CLI server (Experimental)
244
-
245
-
It may be required to have the operations of the CALM CLI available over rest.
246
-
The `validate`command has been made available over an API.
247
-
248
-
```shell
249
-
calm server --schema-directory calm
250
-
```
251
-
252
-
Note that CalmHub can be used by setting the `-c, --calm-hub-url` argument.
253
-
254
-
```shell
255
-
curl http://127.0.0.1:3000/health
256
-
257
-
# Missing schema key
258
-
curl -H "Content-Type: application/json" -X POST http://127.0.0.1:3000/calm/validate --data @cli/test_fixtures/validation_route/invalid_api_gateway_instantiation_missing_schema_key.json
259
-
260
-
# Schema value is invalid
261
-
curl -H "Content-Type: application/json" -X POST http://127.0.0.1:3000/calm/validate --data @cli/test_fixtures/validation_route/invalid_api_gateway_instantiation_schema_points_to_missing_schema.json
262
-
263
-
# instantiation is valid
264
-
curl -H "Content-Type: application/json" -X POST http://127.0.0.1:3000/calm/validate --data @cli/test_fixtures/validation_route/valid_instantiation.json
265
-
266
-
267
-
```
268
-
269
242
## CALM init-ai
270
243
271
244
The `init-ai`command sets up AI-powered development assistance for CALM architecture modeling by configuring a specialized VSCode agent with comprehensive tool prompts. At present two AI Assistant providers are supported: Github Copilot and AWS Kiro.
0 commit comments