Haskell library for creating command-line interfaces (colors, menus, etc.)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Peter J. Jones a45d3ffc8c
Remove old build status badge and unused files
3 months ago
examples Changed menus so they default to the first item 4 years ago
src/System/Console Fix failing builds due to the Semigroup Monoid Proposal 1 year ago
.gitignore Bump version for 0.3.0.0 release 1 year ago
AUTHORS Update metadata after merging #5 2 years ago
CHANGES.md Update dependency versions and release 0.3.2.1 3 months ago
LICENSE Update dependency versions and release 0.3.2.1 3 months ago
README.md Remove old build status badge and unused files 3 months ago
Setup.hs Initial commit 4 years ago
TODO Use bracketOnError to properly clean up Haskeline 4 years ago
byline.cabal Update dependency versions and release 0.3.2.1 3 months ago
byline.nix Update dependency versions and release 0.3.2.1 3 months ago
default.nix Fix failing builds due to the Semigroup Monoid Proposal 1 year ago

README.md

Byline

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.