mirror of
https://github.com/norangebit/ad-alta-voce
synced 2025-02-21 06:00:45 +01:00
Addition of the CLI for the generation of podcast feeds of Ad Alta Voce. This first version includes the commands: - `single` generate a podcast feed of the given audiobook - `all` generate a podcast feed for all audiobooks
17 lines
322 B
Haskell
17 lines
322 B
Haskell
{-|
|
|
Module : Main
|
|
Copyright : (c) Raffaele Mignone 2021
|
|
License : GPL-3
|
|
Maintainer : git@norangeb.it
|
|
-}
|
|
|
|
module Main where
|
|
|
|
import Options.Applicative ( execParser )
|
|
import Command.CLI ( commandParserInfo, execute )
|
|
|
|
main :: IO ()
|
|
main = do
|
|
cliCommand <- execParser commandParserInfo
|
|
execute cliCommand
|
|
|