iris-0.0.0.0: Haskell CLI framework
Copyright(c) 2022 Dmitrii Kovanikov
LicenseMPL-2.0
MaintainerDmitrii Kovanikov <kovanikov@gmail.com>
StabilityExperimental
PortabilityPortable
Safe HaskellSafe-Inferred
LanguageHaskell2010

Iris

Description

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:

  1. Create settings for your applications by constructing a value of type CliEnvSettings.
  2. 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

Documentation

CLI Application monad.

module Iris.App

Functions to open local files in a browser.

CLI parsing utilities.

module Iris.Cli

Functions to detect terminal support for colouring and print coloured output.

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