Inputty 1.0.12

dotnet add package Inputty --version 1.0.12                
NuGet\Install-Package Inputty -Version 1.0.12                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Inputty" Version="1.0.12" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Inputty --version 1.0.12                
#r "nuget: Inputty, 1.0.12"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Inputty as a Cake Addin
#addin nuget:?package=Inputty&version=1.0.12

// Install Inputty as a Cake Tool
#tool nuget:?package=Inputty&version=1.0.12                

<img src="https://github.com/jchristn/Inputty/raw/main/Assets/icon.png" width="100" height="100">

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);    
// question, default answer, allow null

int answer2    = Inputty.GetInteger("What's your age?", 42, true, true); 
// question, default answer, positive only, allow zero

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
  • DateTime?
  • Guid
Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 is compatible.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
.NET Core netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.1 is compatible. 
.NET Framework net462 is compatible.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 is compatible.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • .NETFramework 4.6.2

    • No dependencies.
  • .NETFramework 4.8

    • No dependencies.
  • .NETStandard 2.1

    • No dependencies.
  • net6.0

    • No dependencies.
  • net7.0

    • No dependencies.
  • net8.0

    • No dependencies.

NuGet packages (2)

Showing the top 2 NuGet packages that depend on Inputty:

Package Downloads
Less3

<3 Less3 is S3-compatible object storage that you can run on your laptop, server, or anywhere you like.

View.Models

View.io is currently in BETA. Database models and supporting classes for View.io services.

GitHub repositories (3)

Showing the top 3 popular GitHub repositories that depend on Inputty:

Repository Stars
dotnet/WatsonTcp
WatsonTcp is the easiest way to build TCP-based clients and servers in C#.
dotnet/WatsonWebserver
Watson is the fastest, easiest way to build scalable RESTful web servers and services in C#.
jchristn/WatsonWebsocket
A simple C# async websocket server and client for reliable transmission and receipt of data
Version Downloads Last updated
1.0.12 1,697 1/11/2024
1.0.11 145 1/10/2024
1.0.10 284 11/9/2023
1.0.9 123 11/9/2023
1.0.8 121 11/9/2023
1.0.7 120 11/9/2023
1.0.6 2,673 8/1/2023
1.0.5 6,783 11/22/2022
1.0.4 2,013 9/22/2022
1.0.3 2,624 5/3/2022
1.0.2 445 5/3/2022
1.0.1 411 5/3/2022
1.0.0 421 5/3/2022

Added support for DateTime.