class

AgentApropos::CLI

Inherits Reference < Object

Constants

MATCH_FORMATS = {"paths", "json", "full"}
REVIEW_FORMATS = {"md", "json"}
USAGE = "agent-apropos — deliver the right conventions to the right moment.\n\nUsage: agent-apropos <command> [options]\n\nCommands:\n init Bootstrap the convention structure into a repo\n generate Compile frontmatter into the index + skill wrappers\n hook pre PreToolUse handler (scoped rules, before the write)\n hook post PostToolUse handler (scoped rules, after the write)\n match Resolve conventions for given paths\n review Resolve conventions for a git range\n lint Validate the convention structure\n doctor Check the environment\n help Explain the mental model\n\nOptions:\n --version Print version and exit\n --help, -h Print this usage and exit"

Constructors

new(stdout : IO, stderr : IO, stdin : IO = STDIN)
Source

Class methods

run(args : Array(String), stdout : IO = STDOUT, stderr : IO = STDERR, stdin : IO = STDIN) : Int32
Source

Instance methods

run(args : Array(String)) : Int32
Source