Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/trskop/mainplate

Common patterns used for application main
https://github.com/trskop/mainplate

command-line haskell

Last synced: about 2 months ago
JSON representation

Common patterns used for application main

Awesome Lists containing this project

README

        

# Mainplate

[![Haskell Programming Language](https://img.shields.io/badge/language-Haskell-blue.svg)](http://www.haskell.org)
[![BSD3 License](http://img.shields.io/badge/license-BSD3-brightgreen.svg)](https://tldrlegal.com/license/bsd-3-clause-license-%28revised%29)

## Description

**Warning: Work in progress**

Patterns to be used for application `main` functions, options parsing, and
configuration.

This library is NOT optimised for rapid development of simple tools. Its goal
is to enforce proper and modular structure of applications, especially those
with command-line interface. It forces you to tackle the complexity up front,
and to structure the `main` function in a way that, hopefully, creates
logically consistent command-line interface. This includes options parsing,
handling of environment variables, and configuration files.