11 lines
337 B
Fennel
11 lines
337 B
Fennel
(local yaml (require :lyaml))
|
|
|
|
;; (local { : view } (require :fennel))
|
|
|
|
(local outputs (collect [k v (ipairs arg)]
|
|
(values v true)))
|
|
|
|
(each [_ option (ipairs (yaml.load (io.read "*a")))]
|
|
(when (. outputs option.name)
|
|
(print (.. ".. _" (string.gsub option.name "%." "-") ":") "\n")
|
|
(print option.description)))
|