Spec Commands

Every command the spec module offers, from its declarations, in order of the resource each acts on. Each command's help says the same.

lnk spec convert

Rewrite a spec file in its kind's current schema, keeping its comments, key order and permissions

lnk spec convert <file>

It takes file, position 1, path, required: The spec file. It answers core.report.

lnk spec list

List every spec kind, the module that owns it and its current schema

lnk spec list [--json]

It takes --json, boolean: Print the answer as JSON for other programs. It answers list of spec.spec.

lnk spec show

Show a kind's fields with their flags, the actions that consume it and its history

lnk spec show <kind> [--json]

It takes --json, boolean: Print the answer as JSON for other programs. It takes kind, position 1, string, required: The spec kind, such as agent. It answers spec.shown.