magus-describe
Define a magus concept and list its entities
Synopsis
magus describe <noun> [<name>] [flags]
Description
Define a magus concept and list every entity of that kind. The noun is one of spell, charm, target, project, workspace, module, or mcp-tool; singular and plural are interchangeable. Pass a name after the noun to detail a single entity instead of listing them all. (The knowledge graph lives under magus graph: export for the merged graph, stats for its shape.)
The charm noun is the inverse of a target ref: "describe charm rw" lists every target that declares the rw charm and the argv edit each one makes, the transpose of the charms a single "describe target" lists.
For a target ref (e.g. "api:build", or ":test" for all projects) magus prints the fully-evaluated dispatch plan: the workspace-rooted source and output globs, the spells that fire, the charm-applied command, and any per-target policy. Add a charm and --explain (e.g. "lint:rw --explain") to see each charm reshape the command one step at a time.
Options
- --evaluated
- For projects: print workspace-rooted globs, effective claims, and per-target policies
- --explain
- For a target ref with charms: show the per-charm argv trace (base then each charm)
Examples
List every target
magus describe targets
List a charm's declaring targets
magus describe charm rw
Detail one project
magus describe project api
Preview a charm-applied command
magus describe target lint:rw
Trace how each charm reshapes the command
magus describe target --explain lint:rw,debug
See Also
magus(1), magus-ls(1), magus-run(1), magus-x(1), magus-where(1), magus-affected(1), magus-insight(1), magus-graph(1), magus-watch(1), magus-status(1), magus-doctor(1), magus-config(1), magus-server(1), magus-completion(1), magus-man(1), magus-init(1), magus-self(1), magus-version(1)