spgen
is a tool to automate the command registration, instead of having to add every command in a single file which is time consuming and possible to forget to register a command spgen helps to generate that file automatically from metadata found in comments in the command's source.
$ go get github.com/sapphire-cord/spgen
See the SPGen guide for more information on how to use it.