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 | 86 | 4/22/2024 |
10.0.12 | 117 | 2/17/2024 |
10.0.11 | 79 | 2/15/2024 |
10.0.10 | 137 | 1/12/2024 |
10.0.9 | 70 | 1/11/2024 |
10.0.9-u20240111-235407-ci | 60 | 1/11/2024 |
10.0.8 | 86 | 12/18/2023 |
10.0.7 | 80 | 12/18/2023 |
10.0.6 | 105 | 11/30/2023 |
10.0.5 | 138 | 11/26/2023 |
10.0.5-u20231126-225220-ci | 65 | 11/26/2023 |
10.0.5-u20231126-222245-ci | 51 | 11/26/2023 |
10.0.4 | 70 | 11/26/2023 |
10.0.4-u20231126-091147-ci | 54 | 11/26/2023 |
10.0.3 | 115 | 11/21/2023 |
10.0.3-u20231121-215445-ci | 59 | 11/21/2023 |
10.0.2 | 311 | 4/16/2023 |
10.0.2-u20230416-224316-ci | 76 | 4/16/2023 |
10.0.1 | 132 | 3/20/2023 |
10.0.1-u20230320-002727-ci | 87 | 3/20/2023 |
10.0.1-u20230320-002640-ci | 85 | 3/20/2023 |
10.0.0 | 107 | 3/16/2023 |
10.0.0-u20230316-232553-ci | 86 | 3/16/2023 |
10.0.0-u20230316-232208-ci | 84 | 3/16/2023 |
9.0.8 | 224 | 11/29/2022 |
9.0.8-u20221129-220919-ci | 80 | 11/29/2022 |
9.0.7 | 102 | 11/28/2022 |
9.0.7-u20221128-230001-ci | 84 | 11/28/2022 |
9.0.6 | 170 | 11/26/2022 |
9.0.6-u20221126-224926-ci | 78 | 11/26/2022 |
9.0.6-u20221126-224237-ci | 98 | 11/26/2022 |
9.0.6-u20220821-115705-ci | 232 | 8/21/2022 |
9.0.6-u20220821-115556-ci | 116 | 8/21/2022 |
9.0.5 | 244 | 8/19/2022 |
9.0.5-u20220819-212321-ci | 103 | 8/19/2022 |
9.0.5-u20220810-204006-ci | 113 | 8/10/2022 |
9.0.5-u20220810-203630-ci | 116 | 8/10/2022 |
9.0.5-u20220802-202619-ci | 121 | 8/2/2022 |
9.0.5-u20220711-200552-ci | 118 | 7/11/2022 |
9.0.5-u20220623-215044-ci | 115 | 6/23/2022 |
9.0.4 | 226 | 6/19/2022 |
9.0.4-u20220619-212100-ci | 108 | 6/19/2022 |
9.0.4-u20220619-211350-ci | 101 | 6/19/2022 |
9.0.4-u20220619-211016-ci | 108 | 6/19/2022 |
9.0.4-u20220619-210835-ci | 116 | 6/19/2022 |
9.0.4-u20220619-210723-ci | 105 | 6/19/2022 |
9.0.4-u20220619-210144-ci | 108 | 6/19/2022 |
9.0.4-u20220619-205706-ci | 106 | 6/19/2022 |
9.0.4-u20220619-205417-ci | 114 | 6/19/2022 |
9.0.4-u20220619-204658-ci | 110 | 6/19/2022 |
9.0.4-u20211120-052437-ci | 422 | 11/20/2021 |
9.0.4-u20211120-052103-ci | 420 | 11/20/2021 |
9.0.3 | 511 | 11/20/2021 |
9.0.3-u20211120-040318-ci | 430 | 11/20/2021 |
9.0.3-u20211120-034357-ci | 447 | 11/20/2021 |
9.0.2 | 266 | 6/18/2021 |
9.0.1 | 220 | 6/18/2021 |
9.0.0 | 1,159 | 6/14/2021 |
8.0.2 | 1,134 | 5/2/2021 |
8.0.1 | 1,139 | 5/2/2021 |
8.0.0 | 993 | 5/2/2021 |
7.0.1 | 1,067 | 4/24/2021 |
7.0.0 | 1,040 | 4/23/2021 |
6.0.3 | 1,084 | 4/7/2021 |
6.0.2 | 1,163 | 3/8/2021 |
6.0.1 | 1,113 | 3/6/2021 |
6.0.0 | 1,124 | 3/4/2021 |
5.0.2 | 1,165 | 3/1/2021 |
5.0.1 | 1,112 | 1/31/2021 |
5.0.0 | 1,159 | 1/31/2021 |
4.3.0 | 1,159 | 1/30/2021 |
4.2.8 | 1,070 | 1/27/2021 |
4.2.7 | 1,098 | 1/24/2021 |
4.2.6 | 1,221 | 12/6/2020 |
4.2.5 | 1,249 | 10/29/2020 |
4.2.4 | 1,136 | 10/23/2020 |
4.2.3 | 1,214 | 10/22/2020 |
4.2.3-pre-u20201022-194536 | 1,014 | 10/22/2020 |
4.2.3-pre-u20201022-194305 | 1,054 | 10/22/2020 |
4.2.3-pre-u20201022-192900 | 1,094 | 10/22/2020 |
4.2.2 | 1,257 | 6/4/2020 |
4.2.1 | 1,319 | 3/8/2020 |
4.0.5 | 1,324 | 11/21/2019 |
4.0.4 | 1,276 | 11/11/2019 |
4.0.3 | 1,258 | 11/11/2019 |
4.0.2 | 1,308 | 11/10/2019 |
3.0.1 | 1,565 | 2/4/2019 |
3.0.0 | 1,460 | 2/4/2019 |
3.0.0-pre001 | 1,241 | 1/31/2019 |
3.0.0-pre000 | 1,319 | 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