Copyright | (c) 2022 Dmitrii Kovanikov |
---|---|
License | MPL-2.0 |
Maintainer | Dmitrii Kovanikov <kovanikov@gmail.com> |
Stability | Experimental |
Portability | Portable |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Iris is a Haskell CLI framework. It contains batteries for bulding CLI applications in Haskell by following best-practices.
The library is designed for qualified imports. To use it, import like this:
import qualified Iris
To create an CLI application with Iris, you need to do the following steps:
- Create settings for your applications by constructing a value of
type
CliEnvSettings
. - Define a monad for your application with the help of
CliApp
by using either type or newtype.
That's all! Now, you can write your CLI app by having access to all capabilities provided by Iris 🎉
Since: 0.0.0.0
Synopsis
- module Iris.App
- module Iris.Browse
- module Iris.Cli
- module Iris.Colour
- module Iris.Env
- module Iris.Tool
Documentation
CLI Application monad.
module Iris.App
Functions to open local files in a browser.
module Iris.Browse
CLI parsing utilities.
module Iris.Cli
Functions to detect terminal support for colouring and print coloured output.
module Iris.Colour
Global environment for a CLI application and CLI app settings.
module Iris.Env
Capabilities to check required tools on the application start.
module Iris.Tool