Inputty 1.0.8

There is a newer version of this package available.
See the version list below for details.
dotnet add package Inputty --version 1.0.8                
NuGet\Install-Package Inputty -Version 1.0.8                
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.8" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Inputty --version 1.0.8                
#r "nuget: Inputty, 1.0.8"                
#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.8

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

<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.0

  • 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
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 was computed.  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 net461 is compatible.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  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.1

    • No dependencies.
  • .NETStandard 2.1

    • No dependencies.
  • net6.0

    • No dependencies.
  • net7.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,672 1/11/2024
1.0.11 142 1/10/2024
1.0.10 280 11/9/2023
1.0.9 122 11/9/2023
1.0.8 120 11/9/2023
1.0.7 119 11/9/2023
1.0.6 2,649 8/1/2023
1.0.5 6,754 11/22/2022
1.0.4 2,012 9/22/2022
1.0.3 2,621 5/3/2022
1.0.2 444 5/3/2022
1.0.1 410 5/3/2022
1.0.0 420 5/3/2022

Added support for DateTime.