cl-scrape-telegram-api/generate-api.ros
Valentin Boettcher 581d00ac7c add Docs
2019-08-14 11:24:08 +02:00

12 lines
358 B
Common Lisp
Executable file

#!/bin/sh
#|-*- mode:lisp -*-|#
#|
exec ros -Q -- $0 "$@"
|#
(push #p"./" asdf:*central-registry*)
(ql:quickload "cl-scrape-telegram-api")
(in-package :space.protagon.cl-telegram-scrape)
(defun main (&optional (out-file *out-file*) (api-url *url*))
(format t "Writing generated file to ~a.~%" out-file)
(scrape-to-disk :out-file out-file :url api-url))