()
| 1188 | } |
| 1189 | |
| 1190 | func 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 | |
| 1202 | func fatal(err error) { |
| 1203 | fmt.Fprintln(os.Stderr, "Error:", err) |
no outgoing calls
no test coverage detected