Sundew.CommandLine
10.0.13
dotnet add package Sundew.CommandLine --version 10.0.13
NuGet\Install-Package Sundew.CommandLine -Version 10.0.13
<PackageReference Include="Sundew.CommandLine" Version="10.0.13" />
paket add Sundew.CommandLine --version 10.0.13
#r "nuget: Sundew.CommandLine, 10.0.13"
// Install Sundew.CommandLine as a Cake Addin #addin nuget:?package=Sundew.CommandLine&version=10.0.13 // Install Sundew.CommandLine as a Cake Tool #tool nuget:?package=Sundew.CommandLine&version=10.0.13
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. |
.NET Core | netcoreapp1.0 was computed. netcoreapp1.1 was computed. netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard1.3 is compatible. netstandard1.4 was computed. netstandard1.5 was computed. netstandard1.6 was computed. netstandard2.0 is compatible. netstandard2.1 was computed. |
.NET Framework | net46 was computed. 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 | tizen30 was computed. tizen40 was computed. tizen60 was computed. |
Universal Windows Platform | uap was computed. uap10.0 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 1.3
- NETStandard.Library (>= 1.6.1)
- Sundew.Base.Collections (>= 13.0.1)
- Sundew.Base.Primitives (>= 13.0.1)
- Sundew.Base.Text (>= 13.0.1)
- System.ValueTuple (>= 4.5.0)
-
.NETStandard 2.0
- Sundew.Base.Collections (>= 13.0.1)
- Sundew.Base.Primitives (>= 13.0.1)
- Sundew.Base.Text (>= 13.0.1)
- System.ValueTuple (>= 4.5.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.13 | 95 | 4/22/2024 |
10.0.12 | 122 | 2/17/2024 |
10.0.11 | 90 | 2/15/2024 |
10.0.10 | 142 | 1/12/2024 |
10.0.9 | 75 | 1/11/2024 |
10.0.9-u20240111-235407-ci | 63 | 1/11/2024 |
10.0.8 | 91 | 12/18/2023 |
10.0.7 | 85 | 12/18/2023 |
10.0.6 | 110 | 11/30/2023 |
10.0.5 | 143 | 11/26/2023 |
10.0.5-u20231126-225220-ci | 68 | 11/26/2023 |
10.0.5-u20231126-222245-ci | 54 | 11/26/2023 |
10.0.4 | 75 | 11/26/2023 |
10.0.4-u20231126-091147-ci | 57 | 11/26/2023 |
10.0.3 | 120 | 11/21/2023 |
10.0.3-u20231121-215445-ci | 62 | 11/21/2023 |
10.0.2 | 316 | 4/16/2023 |
10.0.2-u20230416-224316-ci | 79 | 4/16/2023 |
10.0.1 | 137 | 3/20/2023 |
10.0.1-u20230320-002727-ci | 90 | 3/20/2023 |
10.0.1-u20230320-002640-ci | 88 | 3/20/2023 |
10.0.0 | 112 | 3/16/2023 |
10.0.0-u20230316-232553-ci | 89 | 3/16/2023 |
10.0.0-u20230316-232208-ci | 87 | 3/16/2023 |
9.0.8 | 231 | 11/29/2022 |
9.0.8-u20221129-220919-ci | 83 | 11/29/2022 |
9.0.7 | 109 | 11/28/2022 |
9.0.7-u20221128-230001-ci | 87 | 11/28/2022 |
9.0.6 | 177 | 11/26/2022 |
9.0.6-u20221126-224926-ci | 81 | 11/26/2022 |
9.0.6-u20221126-224237-ci | 101 | 11/26/2022 |
9.0.6-u20220821-115705-ci | 235 | 8/21/2022 |
9.0.6-u20220821-115556-ci | 119 | 8/21/2022 |
9.0.5 | 251 | 8/19/2022 |
9.0.5-u20220819-212321-ci | 106 | 8/19/2022 |
9.0.5-u20220810-204006-ci | 116 | 8/10/2022 |
9.0.5-u20220810-203630-ci | 119 | 8/10/2022 |
9.0.5-u20220802-202619-ci | 124 | 8/2/2022 |
9.0.5-u20220711-200552-ci | 121 | 7/11/2022 |
9.0.5-u20220623-215044-ci | 118 | 6/23/2022 |
9.0.4 | 233 | 6/19/2022 |
9.0.4-u20220619-212100-ci | 111 | 6/19/2022 |
9.0.4-u20220619-211350-ci | 104 | 6/19/2022 |
9.0.4-u20220619-211016-ci | 111 | 6/19/2022 |
9.0.4-u20220619-210835-ci | 119 | 6/19/2022 |
9.0.4-u20220619-210723-ci | 108 | 6/19/2022 |
9.0.4-u20220619-210144-ci | 111 | 6/19/2022 |
9.0.4-u20220619-205706-ci | 109 | 6/19/2022 |
9.0.4-u20220619-205417-ci | 117 | 6/19/2022 |
9.0.4-u20220619-204658-ci | 113 | 6/19/2022 |
9.0.4-u20211120-052437-ci | 426 | 11/20/2021 |
9.0.4-u20211120-052103-ci | 424 | 11/20/2021 |
9.0.3 | 519 | 11/20/2021 |
9.0.3-u20211120-040318-ci | 434 | 11/20/2021 |
9.0.3-u20211120-034357-ci | 451 | 11/20/2021 |
9.0.2 | 274 | 6/18/2021 |
9.0.1 | 228 | 6/18/2021 |
9.0.0 | 1,167 | 6/14/2021 |
8.0.2 | 1,142 | 5/2/2021 |
8.0.1 | 1,147 | 5/2/2021 |
8.0.0 | 1,001 | 5/2/2021 |
7.0.1 | 1,075 | 4/24/2021 |
7.0.0 | 1,050 | 4/23/2021 |
6.0.3 | 1,093 | 4/7/2021 |
6.0.2 | 1,171 | 3/8/2021 |
6.0.1 | 1,122 | 3/6/2021 |
6.0.0 | 1,132 | 3/4/2021 |
5.0.2 | 1,174 | 3/1/2021 |
5.0.1 | 1,120 | 1/31/2021 |
5.0.0 | 1,167 | 1/31/2021 |
4.3.0 | 1,167 | 1/30/2021 |
4.2.8 | 1,078 | 1/27/2021 |
4.2.7 | 1,106 | 1/24/2021 |
4.2.6 | 1,229 | 12/6/2020 |
4.2.5 | 1,257 | 10/29/2020 |
4.2.4 | 1,144 | 10/23/2020 |
4.2.3 | 1,222 | 10/22/2020 |
4.2.3-pre-u20201022-194536 | 1,018 | 10/22/2020 |
4.2.3-pre-u20201022-194305 | 1,059 | 10/22/2020 |
4.2.3-pre-u20201022-192900 | 1,098 | 10/22/2020 |
4.2.2 | 1,283 | 6/4/2020 |
4.2.1 | 1,327 | 3/8/2020 |
4.0.5 | 1,334 | 11/21/2019 |
4.0.4 | 1,285 | 11/11/2019 |
4.0.3 | 1,266 | 11/11/2019 |
4.0.2 | 1,334 | 11/10/2019 |
3.0.1 | 1,574 | 2/4/2019 |
3.0.0 | 1,469 | 2/4/2019 |
3.0.0-pre001 | 1,247 | 1/31/2019 |
3.0.0-pre000 | 1,323 | 1/17/2019 |
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