Copyright | (c) 2021-2022 berberman |
---|---|
License | MIT |
Maintainer | berberman <berberman@yandex.com> |
Stability | experimental |
Portability | portable |
Safe Haskell | None |
Language | Haskell2010 |
CLI interface of nvfetcher
Synopsis
- data CLIOptions = CLIOptions {
- optBuildDir :: FilePath
- optCommit :: Bool
- optLogPath :: Maybe FilePath
- optThreads :: Int
- optRetry :: Int
- optTiming :: Bool
- optVerbose :: Bool
- optPkgNameFilter :: Maybe String
- optTarget :: Target
- data Target
- cliOptionsParser :: Parser CLIOptions
- getCLIOptions :: Parser a -> IO a
Documentation
data CLIOptions Source #
Options for nvfetcher CLI
CLIOptions | |
|
Instances
Show CLIOptions Source # | |
Defined in NvFetcher.Options showsPrec :: Int -> CLIOptions -> ShowS # show :: CLIOptions -> String # showList :: [CLIOptions] -> ShowS # |
getCLIOptions :: Parser a -> IO a Source #
Parse nvfetcher CLI options