Skip to content
Cockpit0.29.0
A snapshot: read at commit 707a04c7ce8 on 2026-10-18T00:06:01Z by majordomus 0.29.0. Nothing on this page is read again. See it live

majordomus completion query

The candidates for one command line, from the command graph. What a shell adapter calls on every TAB

What it is

read only

The candidates for one command line, from the command graph. What a shell adapter calls on every TAB

Identity
executable.completion.query
Program
executable
Runs
non interactive
Requires
repositorylayer
No machine surface carries this command: no capability declares this command line, so no machine surface has a typed input schema to execute from

Where it appears

Command line
majordomus completion query
Workflow
just completion-query
MCP tool
—
HTTP
—
Declared in
apps/majordomus-cli/src/cli.rs
Capability
—

Arguments

argumentvalues fromrequiredhelp
--surface—Which surface the words are spelled for
--cursor—The index of the word the cursor is in; the default is a new word after the last
--format—Output shape
<WORDS>—The words of the command line, the program's own name first
--repo—Start the search for the repository root here (default: the current directory)
--discovery—How declarative files are enumerated
--strict—Refuse to proceed when any file of the layer carries an error diagnostic
--share—The tool distribution's share directory (kinds.yaml, schemas/); default: $MAJORDOMUS_SHARE, then the repository's own share/, then the one beside the executable