Clysh 2.6.3
dotnet add package Clysh --version 2.6.3
NuGet\Install-Package Clysh -Version 2.6.3
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="Clysh" Version="2.6.3" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Clysh" Version="2.6.3" />
<PackageReference Include="Clysh" />
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Clysh --version 2.6.3
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Clysh, 2.6.3"
#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.
#:package Clysh@2.6.3
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Clysh&version=2.6.3
#tool nuget:?package=Clysh&version=2.6.3
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Clysh
CLi in Yaml for SHell apps
Create your own CLI on .NET 6+ with simple steps.
What is?
Clysh is a library to create a .NET Command Line Interface (CLI). The main goal is to create your own CLI with only business code.
Features
Clysh has some features to facilitate the process of create a CLI.
- You can write your own CLI as an YAML or JSON file. The file is parsed at runtime.
- Easy to make a command tree. You can nest commands to run in a specific order;
- The commands can have custom options with your own shortcuts;
- The options can have required and/or optional parameter to some user data input.
- You can group options like a radio button.
- The help command is auto-generated.
- Easy to mocking for unit tests.
- 2.0 NEW: Global options feature to reuse option structure with N commands
Getting Started
To use Clysh you need to install the package from NuGet.
dotnet add package clysh
The project of example app is available on GitHub
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | 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 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. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net6.0
- Microsoft.Extensions.Logging (>= 7.0.0)
- Newtonsoft.Json (>= 13.0.1)
- System.IO.Abstractions (>= 17.0.15)
- YamlDotNet (>= 11.2.1)
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.6.3 | 443 | 3/17/2023 | |
| 2.6.2 | 360 | 3/17/2023 | |
| 2.6.1 | 365 | 3/17/2023 | |
| 2.6.0 | 354 | 3/16/2023 | |
| 2.5.0 | 367 | 3/9/2023 | |
| 2.4.0 | 363 | 3/7/2023 | |
| 2.3.1 | 330 | 3/6/2023 | |
| 2.3.0 | 346 | 3/5/2023 | |
| 2.2.0 | 473 | 3/5/2023 | |
| 2.1.0 | 483 | 2/7/2023 | |
| 2.0.1 | 526 | 2/3/2023 | |
| 2.0.0 | 515 | 2/3/2023 | |
| 1.4.1 | 464 | 1/14/2023 | |
| 1.4.0 | 580 | 8/16/2022 | |
| 1.3.6 | 745 | 8/12/2022 | |
| 1.3.5 | 751 | 8/8/2022 | |
| 1.3.4 | 731 | 8/7/2022 | |
| 1.3.3 | 749 | 8/2/2022 | |
| 1.3.2 | 731 | 8/2/2022 | |
| 1.3.1 | 746 | 8/2/2022 |
Loading failed