INNER CODE UNIT · Go

run

Bharath-code/git-scope · cmd/git-scope/main.go:134

func run(cmd string, dirs []string, configPath string) error {
	switch cmd {
	case "init":
		runInit()
		return nil
	case "issue":
		runIssue()
		return nil
	case "scan-all":
		runScanAll()
		return nil
	}

	// --json is the only output format; accept it so the command reads naturally
	if cmd == "status" {
		dirs = without(dirs, "--json")
	}

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…