Console.Waterworks.Core
1.0.0-alpha
See the version list below for details.
dotnet add package Console.Waterworks.Core --version 1.0.0-alpha
NuGet\Install-Package Console.Waterworks.Core -Version 1.0.0-alpha
<PackageReference Include="Console.Waterworks.Core" Version="1.0.0-alpha" />
paket add Console.Waterworks.Core --version 1.0.0-alpha
#r "nuget: Console.Waterworks.Core, 1.0.0-alpha"
// Install Console.Waterworks.Core as a Cake Addin #addin nuget:?package=Console.Waterworks.Core&version=1.0.0-alpha&prerelease // Install Console.Waterworks.Core as a Cake Tool #tool nuget:?package=Console.Waterworks.Core&version=1.0.0-alpha&prerelease
Console.Waterworks.Core
Console.Waterworks.Core is the .Net Core version of Console.Waterworks. Both projects are Nuget packages. And, their main purpose is to help you write extendable command-based console programs. If you want to write a console program using the full .Net Framework, use Console.Waterworks.
Pre-Requisites
To use Console.Waterworks.Core, I recommend you meet the following pre-requisites:
- You have experience with C#.
- You can create a .Net console program in Visual Studio 2017.
- You have experience with Nuget.
- You have Microsoft .Net Framework 4.7 or higher.
Quick Start - Wiring Console.Waterworks.Core in to your Console Program
Before continuing... I am skipping the part about creating a .Net console program. This is because I assume you know how to do that. I am, also, assuming you are using Visual Studio 2017 and C# (not VB or F#).
1 Add Console.Waterworks.Core to your project via Nuget. You can do this using Visual Studio's (2017) Package Manager GUI. Or, you can use the Package Manager Console. Here is the command for the PM Console,
# Enter the version of number of your choice.
Install-Package Console.Waterworks.Core -Version 0.1.0-alpha1
2 Create a class called ConsoleCommands
. It can go anywhere as long as it is in the same project as the console program.
3 Make a note of the ConsoleCommands
namespace.
4 Head to the Main
method in Program.cs
and add the following lines of code,
public static void Main(string[] args)
{
CW_Liaison liaison = new CW_Liaison();
liaison.Run("CW_Console", true);
}
5 Head back to ConsoleCommands
and make it public
.
6 Stay in ConsoleCommands
and write the following method,
public string Test()
{
return "Congratulations! It works.";
}
7 Run the program and type "Test" into the console.
8 If all has gone well, you should see the “Congratulations! It works." message.
9 Add more methods to you console program.
(Offline) Guides
I provided a link to Console.Waterworks' Wiki as a online guide for learning about Console.Waterworks(.Core)'s architecture. With that said, I have, also, mad a couple of guides for when you are offline. The are as follows,
- The Quick Guide to Console.Waterworks.Core
- The Architecture Guide Console.Waterworks.Core
These guides are printer friendly. And, they are best consumed on your favourite reading chair.
Code of Conduct
Please visit the Code of Conduct page for Console.Waterworks.Core at,
Contributing to the Console.Waterworks.Core Repository
Please visit the Contributing page for Console.Waterworks.Core at,
About the Creator
Hi, my name is Craig and I'm the creator of Console.Waterworks.Core. Thanks for checking it out.
- Email:craig@craigoates.net
- Web: http://www.craigoates.net
- Project's Site: http://craigsappshed.azurewebsites.net/Waterworks
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. 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 was computed. 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 is compatible. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
-
.NETCoreApp 2.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 | 592 | 1/23/2020 |
1.0.0.1 | 662 | 2/11/2019 |
1.0.0 | 814 | 1/29/2019 |
1.0.0-alpha | 1,099 | 11/2/2017 |
This is the initial alpha release of Console.Waterworks.Core.