Documentation
¶
Overview ¶
Package commandhost adapts the public command extension contract to Typed Shortcuts.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CompileDeclaration ¶
CompileDeclaration compiles one declaration into a mountable shortcut without the whole-contribution checks CompileSets performs. Host-side callers that need a compiled command outside a command set use it so they exercise the production compiler rather than a parallel construction path.
func CompileSets ¶
CompileSets validates and compiles a complete external contribution without registration.
func ValidateDeclaration ¶
ValidateDeclaration compiles one declaration through the production compiler and discards the result. A business test harness calls it so a wrong tag, Shape or relation fails in the unit test rather than at CLI startup: executing hooks directly exercises none of the compiler's contract checks, which is the gap that let a green test ship a command that cannot mount.
Domain existence and path collisions are deliberately not checked here. Those are properties of a whole contribution and belong to CompileSets, which runs during build.
Types ¶
This section is empty.