Sundew.CommandLine
10.0.14
dotnet add package Sundew.CommandLine --version 10.0.14
NuGet\Install-Package Sundew.CommandLine -Version 10.0.14
<PackageReference Include="Sundew.CommandLine" Version="10.0.14" />
<PackageVersion Include="Sundew.CommandLine" Version="10.0.14" />
<PackageReference Include="Sundew.CommandLine" />
paket add Sundew.CommandLine --version 10.0.14
#r "nuget: Sundew.CommandLine, 10.0.14"
#addin nuget:?package=Sundew.CommandLine&version=10.0.14
#tool nuget:?package=Sundew.CommandLine&version=10.0.14
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 | 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 (>= 14.0.0)
- Sundew.Base.Primitives (>= 14.0.0)
- Sundew.Base.Text (>= 14.0.0)
- System.ValueTuple (>= 4.5.0)
-
.NETStandard 2.0
- Sundew.Base.Collections (>= 14.0.0)
- Sundew.Base.Primitives (>= 14.0.0)
- Sundew.Base.Text (>= 14.0.0)
- 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.14 | 72 | 5 months ago |
10.0.13 | 106 | 4/22/2024 |
10.0.12 | 131 | 2/17/2024 |
10.0.11 | 97 | 2/15/2024 |
10.0.10 | 146 | 1/12/2024 |
10.0.9 | 79 | 1/11/2024 |
10.0.9-u20240111-235407-ci | 66 | 1/11/2024 |
10.0.8 | 97 | 12/18/2023 |
10.0.7 | 90 | 12/18/2023 |
10.0.6 | 116 | 11/30/2023 |
10.0.5 | 147 | 11/26/2023 |
10.0.5-u20231126-225220-ci | 71 | 11/26/2023 |
10.0.5-u20231126-222245-ci | 58 | 11/26/2023 |
10.0.4 | 80 | 11/26/2023 |
10.0.4-u20231126-091147-ci | 60 | 11/26/2023 |
10.0.3 | 126 | 11/21/2023 |
10.0.3-u20231121-215445-ci | 66 | 11/21/2023 |
10.0.2 | 321 | 4/16/2023 |
10.0.2-u20230416-224316-ci | 82 | 4/16/2023 |
10.0.1 | 148 | 3/20/2023 |
10.0.1-u20230320-002727-ci | 93 | 3/20/2023 |
10.0.1-u20230320-002640-ci | 91 | 3/20/2023 |
10.0.0 | 117 | 3/16/2023 |
10.0.0-u20230316-232553-ci | 93 | 3/16/2023 |
10.0.0-u20230316-232208-ci | 90 | 3/16/2023 |
9.0.8 | 236 | 11/29/2022 |
9.0.8-u20221129-220919-ci | 87 | 11/29/2022 |
9.0.7 | 113 | 11/28/2022 |
9.0.7-u20221128-230001-ci | 91 | 11/28/2022 |
9.0.6 | 182 | 11/26/2022 |
9.0.6-u20221126-224926-ci | 85 | 11/26/2022 |
9.0.6-u20221126-224237-ci | 104 | 11/26/2022 |
9.0.6-u20220821-115705-ci | 239 | 8/21/2022 |
9.0.6-u20220821-115556-ci | 122 | 8/21/2022 |
9.0.5 | 255 | 8/19/2022 |
9.0.5-u20220819-212321-ci | 116 | 8/19/2022 |
9.0.5-u20220810-204006-ci | 119 | 8/10/2022 |
9.0.5-u20220810-203630-ci | 123 | 8/10/2022 |
9.0.5-u20220802-202619-ci | 128 | 8/2/2022 |
9.0.5-u20220711-200552-ci | 125 | 7/11/2022 |
9.0.5-u20220623-215044-ci | 122 | 6/23/2022 |
9.0.4 | 238 | 6/19/2022 |
9.0.4-u20220619-212100-ci | 115 | 6/19/2022 |
9.0.4-u20220619-211350-ci | 107 | 6/19/2022 |
9.0.4-u20220619-211016-ci | 114 | 6/19/2022 |
9.0.4-u20220619-210835-ci | 122 | 6/19/2022 |
9.0.4-u20220619-210723-ci | 111 | 6/19/2022 |
9.0.4-u20220619-210144-ci | 114 | 6/19/2022 |
9.0.4-u20220619-205706-ci | 112 | 6/19/2022 |
9.0.4-u20220619-205417-ci | 121 | 6/19/2022 |
9.0.4-u20220619-204658-ci | 116 | 6/19/2022 |
9.0.4-u20211120-052437-ci | 430 | 11/20/2021 |
9.0.4-u20211120-052103-ci | 426 | 11/20/2021 |
9.0.3 | 523 | 11/20/2021 |
9.0.3-u20211120-040318-ci | 436 | 11/20/2021 |
9.0.3-u20211120-034357-ci | 453 | 11/20/2021 |
9.0.2 | 279 | 6/18/2021 |
9.0.1 | 232 | 6/18/2021 |
9.0.0 | 1,199 | 6/14/2021 |
8.0.2 | 1,185 | 5/2/2021 |
8.0.1 | 1,183 | 5/2/2021 |
8.0.0 | 1,037 | 5/2/2021 |
7.0.1 | 1,113 | 4/24/2021 |
7.0.0 | 1,086 | 4/23/2021 |
6.0.3 | 1,129 | 4/7/2021 |
6.0.2 | 1,212 | 3/8/2021 |
6.0.1 | 1,163 | 3/6/2021 |
6.0.0 | 1,171 | 3/4/2021 |
5.0.2 | 1,213 | 3/1/2021 |
5.0.1 | 1,161 | 1/31/2021 |
5.0.0 | 1,207 | 1/31/2021 |
4.3.0 | 1,206 | 1/30/2021 |
4.2.8 | 1,119 | 1/27/2021 |
4.2.7 | 1,167 | 1/24/2021 |
4.2.6 | 1,296 | 12/6/2020 |
4.2.5 | 1,299 | 10/29/2020 |
4.2.4 | 1,186 | 10/23/2020 |
4.2.3 | 1,263 | 10/22/2020 |
4.2.3-pre-u20201022-194536 | 1,069 | 10/22/2020 |
4.2.3-pre-u20201022-194305 | 1,099 | 10/22/2020 |
4.2.3-pre-u20201022-192900 | 1,138 | 10/22/2020 |
4.2.2 | 1,328 | 6/4/2020 |
4.2.1 | 1,371 | 3/8/2020 |
4.0.5 | 1,383 | 11/21/2019 |
4.0.4 | 1,329 | 11/11/2019 |
4.0.3 | 1,310 | 11/11/2019 |
4.0.2 | 1,380 | 11/10/2019 |
3.0.1 | 1,640 | 2/4/2019 |
3.0.0 | 1,518 | 2/4/2019 |
3.0.0-pre001 | 1,293 | 1/31/2019 |
3.0.0-pre000 | 1,379 | 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