Sundew.CommandLine
10.0.17
dotnet add package Sundew.CommandLine --version 10.0.17
NuGet\Install-Package Sundew.CommandLine -Version 10.0.17
<PackageReference Include="Sundew.CommandLine" Version="10.0.17" />
<PackageVersion Include="Sundew.CommandLine" Version="10.0.17" />
<PackageReference Include="Sundew.CommandLine" />
paket add Sundew.CommandLine --version 10.0.17
#r "nuget: Sundew.CommandLine, 10.0.17"
#:package Sundew.CommandLine@10.0.17
#addin nuget:?package=Sundew.CommandLine&version=10.0.17
#tool nuget:?package=Sundew.CommandLine&version=10.0.17
Sundew.CommandLine
Features
- *nix style command line. -x, --xx
- Includes command line parser, generator and help generator
- Supports verbs, arguments, switches (flags) and values (positional elements)
- Object oriented (Implement IVerb or IArguments)
- Parses/Generates: simple types, lists, nested types.
- Supports optional/required arguments/values
- Supports any of a given number of arguments
- Supports enums
- Nested arguments for argument grouping and reuse
Samples
Optional, optional list and switch
Usage
https://github.com/sundews/Sundew.Packaging/blob/main/Source/Sundew.Packaging.Tool/Program.cs
Configure
https://github.com/sundews/Sundew.Packaging/blob/main/Source/Sundew.Packaging.Tool/UpdateVerb.cs
Required value
Required list, require any of and enum
Usage
https://github.com/sundews/CommandLineBatcher/blob/main/Source/CommandlineBatcher/Program.cs
Configure
https://github.com/sundews/CommandLineBatcher/blob/main/Source/CommandlineBatcher/BatchArguments.cs
Nesting
Usage
https://github.com/sundews/Aupli/blob/main/Source/Aupli/Program.cs
Configure
https://github.com/sundews/Aupli/blob/main/Source/Aupli/CommandLine/Options.cs
https://github.com/sundews/Aupli/blob/main/Source/Aupli/CommandLine/FileLogOptions.cs
Nested verbs
Usage
https://github.com/sundews/Sundew.Packaging/blob/main/Source/Sundew.Packaging.Tool/Program.cs
Configure
https://github.com/sundews/Sundew.Packaging/blob/main/Source/Sundew.Packaging.Tool/PruneLocalSourceVerb.cs
https://github.com/sundews/Sundew.Packaging/blob/main/Source/Sundew.Packaging.Tool/PruneLocalSource/AllVerb.cs
| 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. 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. |
| .NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
| .NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
| .NET Framework | net461 was computed. 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. |
-
.NETStandard 2.0
- Sundew.Base.Collections (>= 16.0.0)
- Sundew.Base.Primitives (>= 16.0.0)
- Sundew.Base.Text (>= 16.0.0)
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 |
|---|---|---|
| 10.0.17 | 40 | 2/1/2026 |
| 10.0.16 | 80 | 11/23/2025 |
| 10.0.15 | 82 | 11/17/2025 |
| 10.0.15-u20251116-021129-ci | 70 | 11/16/2025 |
| 10.0.15-u20251005-150408-ci | 64 | 10/5/2025 |
| 10.0.14 | 144 | 1/16/2025 |
| 10.0.13 | 132 | 4/22/2024 |
| 10.0.12 | 181 | 2/17/2024 |
| 10.0.11 | 155 | 2/15/2024 |
| 10.0.10 | 174 | 1/12/2024 |
| 10.0.9 | 101 | 1/11/2024 |
| 10.0.9-u20240111-235407-ci | 102 | 1/11/2024 |
| 10.0.8 | 140 | 12/18/2023 |
| 10.0.7 | 117 | 12/18/2023 |
| 10.0.6 | 142 | 11/30/2023 |
| 10.0.5 | 172 | 11/26/2023 |
| 10.0.5-u20231126-225220-ci | 102 | 11/26/2023 |
| 10.0.5-u20231126-222245-ci | 92 | 11/26/2023 |
| 10.0.4 | 113 | 11/26/2023 |
| 10.0.4-u20231126-091147-ci | 85 | 11/26/2023 |
9.0 - New Command line lexer (Fixes parsing empty arguments)
8.0 - Added arguments help text, Removed option ordering
7.0 - Improved help text
6.0 - Added short verbs
5.0 - Added support for multiline help and default value help text.
4.2 - Added Parser Result extensions and help text improvements
4.1 - Async support
4.0 - Support nested verbs
3.0 - Improved nesting support