sigildocs

(sigil cli boot)

cli/boot.sgl — Minimal bootstrap CLI

A trimmed-down (sigil cli) used ONLY by the Makefile bootstrap. Defines the same library name as cli.sgl but with a much smaller import surface, supporting only the build + bundle subcommands (plus --version and --help). Used to compile the full release sigil binary, which then becomes the user-facing tool.

Anything beyond build / bundle error-exits with a message pointing the user at the full release binary.

The build/bundle implementation lives in (sigil cli build-cmds) so cli.sgl and this file share the same code path.

Exports

show-helpprocedure

Display minimal usage message

make-boot-cmdprocedure

Construct the bootstrap-mode top-level command. Parses build / bundle / deps subcommands and dispatches to their handlers. Other subcommands fall through to the unknown-command path in main.

Process global -L args (already handled by sigil-run main.c, but the CLI processes them again so that both run paths are consistent).

Print the "this command isn't in the bootstrap binary" error and bail. Centralized so the message stays consistent for every excluded subcommand.

Recognized non-bootstrap subcommands — listed only so the unknown- command branch can produce a hint instead of "command not found" for the common ones.

mainvariable

(No description)

(No description)

(No description)

(No description)

(No description)

(No description)