INNER CODE UNIT · Go
main
Bharath-code/git-scope · cmd/git-scope/main.go:66
func main() {
nudge.Version = version
flag.Usage = usage
opts := parseFlags()
if opts.ShowVersion {
printVersion()
return
}
if opts.ShowHelp {
usage()
return
}
cmd, dirs := parseCommand(flag.Args())
// Handle help subcommand (e.g. `git-scope help`)
if cmd == "help" {
usage()