cl-scrape-telegram-api/generate-api.ros

13 lines
358 B
Text
Raw Permalink Normal View History

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