jchristn / Inputty

Inputty is a simple library that helps simplify the process of getting input from the console.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Inputty

NuGet Version NuGet

Inputty is a simple library that helps simplify the process of getting input from the console. Inputty allows you to define the prompt, specify allowable values, and specify boundary conditions.

New in v1.0.x

  • Initial release

Help or feedback

First things first - do you need help or have feedback? File an issue here or start a discussion!

It's Super Easy

using GetSomeInput;
string answer1 = Inputty.GetString("What's your name?", null, false);
int answer2    = Inputty.GetInteger("What's your age?", 42, true, true);

Yep, it's that simple.

Supported Types

Inputty supports a decent range of return types:

  • String
  • List<String>
  • Int
  • Boolean
  • Decimal
  • Double
  • Dictionary
  • NameValueCollection
  • DateTime

About

Inputty is a simple library that helps simplify the process of getting input from the console.

License:MIT License


Languages

Language:C# 100.0%