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

Function printUsage

cli/spec/main.go:1190–1200  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1188}
1189
1190func printUsage() {
1191 fmt.Printf("%s - Generate Codex prompts and publish spec reviews to unhash\n\n", commandName)
1192 fmt.Println("Usage:")
1193 fmt.Printf(" %s <spec.md>\n", commandName)
1194 fmt.Printf(" %s -in <spec.md> [--stdout] [--no-clipboard]\n", commandName)
1195 fmt.Printf(" %s exec <spec.md> [--append \"...\"] [--append-file path] [--copy] [--stdout] [--dry-run] [-- <codex args...>]\n", commandName)
1196 fmt.Printf(" %s review <spec.md> [--api-origin https://unhash.sh] [--title \"...\"] [--open] [--no-clipboard]\n", commandName)
1197 fmt.Printf(" %s review-comments <hash|url> [--json] [--api-origin https://unhash.sh]\n", commandName)
1198 fmt.Printf(" %s deploy\n", commandName)
1199 fmt.Printf(" %s version\n", commandName)
1200}
1201
1202func fatal(err error) {
1203 fmt.Fprintln(os.Stderr, "Error:", err)

Callers 5

mainFunction · 0.85
runPromptFunction · 0.85
runExecFunction · 0.85
runReviewFunction · 0.85
runReviewCommentsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected