Skip to content

DaveLancaster/arsk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Arsk

Prompt for user input in a composable way.

Installation

Add this line to your application's Cargo.toml:

[dependencies]
arsk = { git = "https://github.com/DaveLancaster/arsk" }

Usage

You can prompt users for input like so:

extern crate arsk;

use arsk::{ input, Colour };

let msg = "What shall we do today?";
let resp = input(msg).prompt(&':').no_echo().fg_colour(Colour::Red).ask().unwrap();

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/DaveLancaster/arsk.

License

The crate is available as open source under the terms of the MIT License.

About

Prompt for user input in a composable way.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages