🤖
lazyspec
Lazyspec manages project documents through a TUI and a command line interface.
lazyspec [command] [options]
lazyspec
Description
Lazyspec stores documents as Markdown with YAML frontmatter. .lazyspec.toml defines document types, relationships, lifecycle states, templates, and storage backends. The CLI creates, links, searches, and validates documents. The terminal interface provides document navigation and Markdown preview.
The project is experimental. CLI and configuration interfaces may change between releases.
Commands
Most commands accept --json. lazyspec help <command> prints the complete options for a command.
| Command | Behaviour |
|---|
init | Creates .lazyspec.toml and templates. On a terminal, it runs the configuration wizard. --non-interactive, --json, or a non-terminal writes the starter configuration. --template <dir-or-url> copies a workflow pack: its config, templates, and hooks. |
create <type> <title> | Creates a document from a template. --parent <id> creates a nested document when the parent and child use the same store. |
list [type] | Lists documents, optionally filtered by type or status. |
show <id> | Displays a document. -e expands @ref directives. --parts includes bundle parts. --open opens a browser or configured viewer. |
update <id> | Changes title, status, assignee, attributes, or body. --part <name> writes a bundle part. |
delete <id> | Deletes a document. |
link <from> <relation> <to> / unlink | Adds or removes a configured relationship. Inverse relationship names are accepted. |
tag add/remove <id> <tags>... | Changes document tags. |
search <query> | Searches titles, tags, paths, and bodies. A source path also matches documents whose governs globs cover it. |
why <path> | Lists the documents governing a source file. |
context [id] | Shows one document's chain or the full context forest. |
status | Reports documents, validation findings, and pending git store commits. |
validate | Reports document, relationship, staleness, and source ownership findings. --id <id> limits document findings to one document. |