The byline package

[Tags:bsd2, library]

Byline simplifies writing interactive terminal applications by building upon ansi-terminal and haskeline. This makes it possible to print messages and prompts that include terminal escape sequences such as colors that are automatically disabled when standard input is a file. It also means that Byline works on both POSIX-compatible systems and on Windows.

The primary features of Byline include printing messages, prompting for input, and generating custom menus. It was inspired by the highline Ruby library and the terminal library by Craig Roche.


[Skip to Readme]

Properties

Versions 0.1.0.0, 0.2.0.0, 0.2.1.0, 0.2.2.0, 0.2.3.0, 0.2.4.0
Change log CHANGES.md
Dependencies ansi-terminal (==0.6.*), base (>=4.7 && <5.0), byline, colour (==2.3.*), containers (==0.5.*), exceptions (==0.8.*), haskeline (==0.7.*), mtl (>=2.1 && <2.3), terminfo-hs (>=0.1 && <0.3), text (>=0.11 && <1.3), transformers (>=0.3 && <0.6) [details]
License BSD2
Copyright Copyright: (c) 2015-2017 Peter J. Jones
Author Peter Jones <pjones@devalot.com>
Maintainer Peter Jones <pjones@devalot.com>
Category System, User Interfaces
Home page http://github.com/pjones/byline
Bug tracker http://github.com/pjones/byline/issues
Source repository head: git clone git://github.com/pjones/byline.git
Uploaded Sun Mar 19 21:06:51 UTC 2017 by PeterJones
Distributions NixOS:0.2.4.0
Downloads 535 total (39 in the last 30 days)
Votes
0 []
Status Docs available [build log]
Last success reported on 2017-03-19 [all 1 reports]
Hackage Matrix CI

Modules

[Index]

Flags

NameDescriptionDefaultType
maintainer

Enable settings for the package maintainer.

DisabledManual
build-examples

Build examples when building the library.

DisabledManual

Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info

Downloads

Maintainer's Corner

For package maintainers and hackage trustees

Readme for byline

Readme for byline-0.2.4.0

Byline

Build Status

Byline simplifies writing interactive terminal applications by building upon ansi-terminal and haskeline. This makes it possible to print messages and prompts that include terminal escape sequences such as colors that are automatically disabled when standard input is a file. It also means that Byline works on both POSIX-compatible systems and on Windows.

The primary features of Byline include printing messages, prompting for input, and generating custom menus. It was inspired by the highline Ruby library and the terminal library by Craig Roche.

Examples

Please see the example programs in the examples directory.