Open
Description
The subcommands docs were out of date because the tests only check the output of the tool as a whole, not individual subcommands: https://github.com/sourcegraph/scip/blob/main/cmd/main_test.go#L26
We should ideally check all of it.
Possible approaches:
- Extend current one
- Alternatively, generate the
CLI.md
entirely out of the tests and usegit diff
to see if it deviates from what is checked in. Like we do with snapshots