on decrease-android-validity help sign in
53 lines 966 B history raw
1-- | Package for writing great CLI apps.
2--
3-- See Demo.hs for an example
4--
5-- This package should eventually be made its own library.
6module Obelisk.CliApp
7 (
8 -- .Types
9 CliLog
10 , CliThrow
11 , CliT(..)
12 , runCli
13 , CliConfig
14 , HasCliConfig
15 , getCliConfig
16 , Output
18 -- .Spinner
19 , withSpinner
20 , withSpinnerNoTrail
21 , withSpinner'
23 -- .Logging
24 , AsUnstructuredError (..)
25 , newCliConfig
26 , getLogLevel
27 , putLog
28 , failWith
29 , errorToWarning
30 , withExitFailMessage
32 -- Control.Monad.Log
33 , Severity (..)
35 -- .Process
36 , ProcessFailure (..)
37 , AsProcessFailure (..)
38 , readProcessAndLogStderr
39 , readProcessAndLogOutput
40 , readCreateProcessWithExitCode
41 , callProcessAndLogOutput
42 , createProcess_
43 , callProcess
44 , callCommand
45 , reconstructCommand
46 ) where
48import Control.Monad.Log (Severity (..))
50import Obelisk.CliApp.Logging
51import Obelisk.CliApp.Process
52import Obelisk.CliApp.Spinner
53import Obelisk.CliApp.Types