clinput 0.2.0

A basic command line prompt module
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use thiserror::Error;

// Error types for this module
#[derive(Error, Debug)]
pub enum PromptError {
	#[error("{0}")]
	ValidateError(String),

	#[error("Inconcievable! This should never happen!")]
	InconcievableError(),

	#[error(transparent)]
	InputError(#[from] std::io::Error),
}