byline: Library for creating command-line interfaces (colors, menus, etc.)
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]
Modules
[Index] [Quick Jump]
- System
- Console
- System.Console.Byline
- System.Console.Byline.Color
- System.Console.Byline.Completion
- Internal
- System.Console.Byline.Internal.Byline
- System.Console.Byline.Internal.Color
- System.Console.Byline.Internal.Completion
- System.Console.Byline.Internal.Render
- System.Console.Byline.Internal.Types
- System.Console.Byline.Menu
- System.Console.Byline.Modifiers
- System.Console.Byline.Primitive
- System.Console.Byline.Stylized
- System.Console.Byline
- Console
Flags
Manual Flags
Name | Description | Default |
---|---|---|
build-examples | Build examples when building the library. | Disabled |
Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info
Downloads
- byline-0.3.2.1.tar.gz [browse] (Cabal source package)
- Package description (revised from the package)
Note: This package has metadata revisions in the cabal description newer than included in the tarball. To unpack the package including the revisions, use 'cabal get'.
Maintainer's Corner
For package maintainers and hackage trustees
Candidates
Versions [RSS] | 0.1.0.0, 0.2.0.0, 0.2.1.0, 0.2.2.0, 0.2.3.0, 0.2.4.0, 0.3.0.0, 0.3.1.0, 0.3.2.0, 0.3.2.1, 0.4.0.0, 1.0.0.0, 1.1.0.0, 1.1.0.1, 1.1.1, 1.1.2, 1.1.3 (info) |
---|---|
Change log | CHANGES.md |
Dependencies | ansi-terminal (>=0.6 && <0.11), base (>=4.7 && <5.0), byline, colour (>=2.3 && <2.4), containers (>=0.5 && <0.7), exceptions (>=0.8 && <0.11), haskeline (>=0.7 && <0.8), mtl (>=2.1 && <2.3), semigroups (>=0.18 && <0.19), terminfo-hs (>=0.1 && <0.3), text (>=0.11 && <1.3), transformers (>=0.3 && <0.6) [details] |
License | BSD-2-Clause |
Copyright | Copyright: (c) 2015-2019 Peter J. Jones |
Author | Peter Jones <pjones@devalot.com> |
Maintainer | Peter Jones <pjones@devalot.com> |
Revised | Revision 1 made by PeterJones at 2019-10-14T17:07:56Z |
Category | System, User Interfaces |
Home page | https://code.devalot.com/open/byline |
Bug tracker | https://code.devalot.com/open/byline/issues |
Source repo | head: git clone https://code.devalot.com/open/byline.git |
Uploaded | by PeterJones at 2019-04-15T23:21:35Z |
Distributions | |
Reverse Dependencies | 1 direct, 0 indirect [details] |
Executables | menu, simple |
Downloads | 8577 total (20 in the last 30 days) |
Rating | (no votes yet) [estimated by Bayesian average] |
Your Rating | |
Status | Docs available [build log] Last success reported on 2019-04-15 [all 1 reports] |