HelpConsole 2.0.0-beta
See the version list below for details.
dotnet add package HelpConsole --version 2.0.0-beta
NuGet\Install-Package HelpConsole -Version 2.0.0-beta
<PackageReference Include="HelpConsole" Version="2.0.0-beta" />
paket add HelpConsole --version 2.0.0-beta
#r "nuget: HelpConsole, 2.0.0-beta"
// Install HelpConsole as a Cake Addin #addin nuget:?package=HelpConsole&version=2.0.0-beta&prerelease // Install HelpConsole as a Cake Tool #tool nuget:?package=HelpConsole&version=2.0.0-beta&prerelease
HelpConsole
HelpConsole is a project to offer useful methods which makes easier to use console applications.
Description
HelpConsole has methods to increase liability of output, state and methods.
How to download
Release: Latest release
.NET CLI:
dotnet add package HelpConsole
Example Usage
Start & Finish
StartUp(ConsoleOption consoleOption = null);
FinishUp();
Title & Writing
SetConsoleTitle(string firstText = null, string secondText = null, string thirdText = null);
ClearConsoleTitle();
Write<T>(T value, ConsoleColor color);
Write<T>(List<T> valueList, T expectedValue, ConsoleColor valueCcolor, ConsoleColor expectedColor);
Sleeping & Beeping
Beep(Melody melody);
Sleep(int duration);
SleepWithBeeping(int duration);
Method
StartingMethod([CallerMemberName] string memberName = "");
EndingMethod([CallerMemberName] string memberName = "");
Math
PercentageNoFrac(int item1, int item2);
Percentage2F(int item1, int item2);
Percentage8F(int item1, int item2);
Key-Action
AddKeyActionPair(new Tuple<ConsoleKeyInfo, Action>(cki: cki, action: action))`;
WaitKeyAction();
KeyAction(ConsoleKeyInfo cki);
Key-Func
AddKeyFuncPair(new Tuple<ConsoleKeyInfo, Func<object>>(cki: cki, func: func));
object returnData = WaitKeyFunc();
object returnData = KeyFunc(ConsoleKeyInfo cki);
To check listed methods, example of output visit wiki page. HelpConsole Wiki
Version History
See Changelog
Task list
- Create an issue or check task list: Issues
Licence
This repository is licensed under the "MIT" license. See MIT license.
Authors & Contributing
If you'd like to contribute, then contribute. contributing guide
Help
Twitter: Enes Okullu @enesokullu
Product | Versions 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 | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 is compatible. |
.NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
.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 | tizen40 was computed. tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETCoreApp 3.1
- No dependencies.
-
.NETFramework 4.6.1
- No dependencies.
-
.NETStandard 2.0
- No dependencies.
-
net6.0
- No dependencies.
-
net7.0
- No dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated | |
---|---|---|---|
2.0.0-beta.1 | 52 | 10/2/2024 | |
2.0.0-beta | 69 | 9/24/2024 | |
1.12.0 | 117 | 9/4/2024 | |
1.11.1 | 103 | 9/1/2024 | |
1.11.0 | 112 | 8/19/2024 | |
1.10.0 | 113 | 8/14/2024 | |
1.9.0 | 111 | 6/27/2024 | |
1.8.0 | 101 | 5/18/2024 | |
1.7.0 | 120 | 4/21/2024 | |
1.6.1 | 124 | 3/5/2024 | |
1.6.0 | 148 | 3/5/2024 | |
1.5.0 | 116 | 2/15/2024 | |
1.4.0 | 129 | 2/6/2024 | |
1.3.0 | 111 | 1/31/2024 | |
1.2.0 | 112 | 1/28/2024 | |
1.1.0 | 136 | 1/17/2024 | |
1.0.0 | 143 | 12/20/2023 | |
1.0.0-rc | 138 | 12/18/2023 | |
1.0.0-beta.4 | 113 | 11/30/2023 | |
1.0.0-beta.3 | 103 | 11/14/2023 | |
1.0.0-beta.2 | 76 | 11/6/2023 | |
1.0.0-beta.1 | 101 | 10/27/2023 |
v2.0.0-beta
* WaitKeyAction() and WaitKeyFunc() now executes action/func on new line.
* LogTiming structure is added.
See changelog (https://github.com/meokullu/HelpConsole/blob/master/CHANGELOG.md)