MCPcopy Index your code
hub / github.com/nikivdev/go / isCodexSubcommand

Function isCodexSubcommand

cli/spec/main.go:810–817  ·  view source on GitHub ↗
(arg string)

Source from the content-addressed store, hash-verified

808}
809
810func isCodexSubcommand(arg string) bool {
811 switch arg {
812 case "exec", "review", "login", "logout", "mcp", "mcp-server", "app-server", "app", "completion", "sandbox", "debug", "apply", "resume", "fork", "cloud", "features", "help":
813 return true
814 default:
815 return false
816 }
817}
818
819func formatCommand(bin string, args []string) string {
820 parts := make([]string, 0, len(args)+1)

Callers 1

runExecFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected