skillcheck

command
v0.6.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 21, 2026 License: Apache-2.0 Imports: 13 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Command skillcheck holds a built hopsesh program to its own skill, as the release ships it: it reads the visible command tree from the program's help (every command's `--help`), installs the skill the program writes into a throwaway home, and fails when the skill names a command or flag the program lacks, when a visible flag is neither in the skill nor in the allowlist (or an allowlist entry is stale), or when the tree differs from the checked-in golden. CI and the release workflow run it; the same checks run in internal/ui/cli's tests from the cobra commands. Nothing outside the temporary home is read or written, and nothing connects anywhere.

go run ./internal/devtools/skillcheck -bin dist/hopsesh \
  -golden internal/ui/cli/testdata/cli-tree.golden -allow internal/ui/cli/testdata/skill-undocumented-flags.txt

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL