aoc2023/scripts/submit-answer

11 lines
266 B
Plaintext
Raw Normal View History

2023-12-01 21:07:19 +00:00
#!/usr/bin/env racket
#lang racket
(require "aoc-lib.rkt")
(command-line
#:program "submit-answer"
#:args (day part answer)
(define resp (aoc-submit-answer (getenv "AOC_YEAR") day (getenv "AOC_SESSION") part answer))
(printf "server returned: ~a\n" resp))