Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/trskop/mainplate
- Owner: trskop
- License: bsd-3-clause
- Created: 2017-09-25T13:08:35.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2023-08-08T18:02:50.000Z (over 1 year ago)
- Last Synced: 2024-12-06T19:09:13.579Z (2 months ago)
- Topics: command-line, haskell
- Language: Haskell
- Size: 80.1 KB
- Stars: 2
- Watchers: 4
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: ChangeLog.md
- License: LICENSE
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.