| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Summoner.CLI
Description
This module contains functions and data types to parse CLI inputs.
CLI data types
Represent all available commands
Options parsed with new command
Constructors
| NewOpts | |
Fields
| |
Commands parsed with show command
Constructors
| GhcList | |
| LicenseList (Maybe String) |
Functions to parse CLI arguments and run summoner
summon :: Version -> (Command -> IO ()) -> IO () Source #
Main function that parses CLI commands and runs them using given
Command handler.