simple-prompt: Simple commandline text prompt functions
The library provides prompt functions for reading user input:
for example prompt
returns the input given,
promptEnter
expects only Enter,
and yesNo
asks for confirmation.
[Skip to Readme]
Downloads
- simple-prompt-0.2.3.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)
Maintainer's Corner
For package maintainers and hackage trustees
Candidates
Versions [RSS] | 0.1.0, 0.2.0, 0.2.0.1, 0.2.1, 0.2.2, 0.2.3 (info) |
---|---|
Change log | ChangeLog.md |
Dependencies | base (<5), exceptions, extra, haskeline (>0.8), safe, time [details] |
Tested with | ghc ==8.6.5 || ==8.8.4 || ==8.10.7 || ==9.0.2 || ==9.2.8 || ==9.4.8 || ==9.6.5 || ==9.8.2 |
License | BSD-3-Clause |
Copyright | 2023-2024 Jens Petersen <juhpetersen@gmail.com> |
Author | Jens Petersen <juhpetersen@gmail.com> |
Maintainer | Jens Petersen <juhpetersen@gmail.com> |
Category | System |
Home page | https://github.com/juhp/simple-prompt |
Bug tracker | https://github.com/juhp/simple-prompt/issues |
Source repo | head: git clone https://github.com/juhp/simple-prompt.git |
Uploaded | by JensPetersen at 2024-06-13T05:24:19Z |
Distributions | Fedora:0.2.0.1, LTSHaskell:0.2.3, NixOS:0.2.3, Stackage:0.2.3 |
Reverse Dependencies | 1 direct, 0 indirect [details] |
Downloads | 511 total (23 in the last 30 days) |
Rating | (no votes yet) [estimated by Bayesian average] |
Your Rating | |
Status | Docs available [build log] Last success reported on 2024-06-13 [all 1 reports] |