Documentation
¶
Overview ¶
Command hyper is the CLI surface over hyper's core (§9). This file is the whole of what the binary adds to the library behind it: it reads the process — the arguments, the ten reads cli.Process names, the facts Go's build stamped — and hands them to cli.Main, which decides which command runs.
No command name appears here, and no dispatch does. This file has no golden coverage, which is the argument gate.go makes for the gate and cli.Main makes for the dispatch behind it (issues #102 and #107).
Every one of the ten is handed over uncalled, so a read no command makes is a read that never happens. os.Getwd is the one that shows why: `version` and `completions` stand outside §9's tree of sixteen and resolve no repository, so a working directory that cannot be read must not stop them (§9, ADR-0020). The others follow the same rule for reasons process.go states one at a time, and nothing anywhere else in the tree reaches for any of them (§7, issue #125, issue #134, issue #142).