Sundew.CommandLine
10.0.12
dotnet add package Sundew.CommandLine --version 10.0.12
NuGet\Install-Package Sundew.CommandLine -Version 10.0.12
<PackageReference Include="Sundew.CommandLine" Version="10.0.12" />
paket add Sundew.CommandLine --version 10.0.12
#r "nuget: Sundew.CommandLine, 10.0.12"
// Install Sundew.CommandLine as a Cake Addin
#addin nuget:?package=Sundew.CommandLine&version=10.0.12
// Install Sundew.CommandLine as a Cake Tool
#tool nuget:?package=Sundew.CommandLine&version=10.0.12
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 (>= 12.0.7)
- Sundew.Base.Primitives (>= 12.0.7)
- Sundew.Base.Text (>= 12.0.7)
- System.ValueTuple (>= 4.5.0)
-
.NETStandard 2.0
- Sundew.Base.Collections (>= 12.0.7)
- Sundew.Base.Primitives (>= 12.0.7)
- Sundew.Base.Text (>= 12.0.7)
- 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.12 | 74 | 2/17/2024 |
10.0.11 | 49 | 2/15/2024 |
10.0.10 | 118 | 1/12/2024 |
10.0.9 | 47 | 1/11/2024 |
10.0.9-u20240111-235407-ci | 43 | 1/11/2024 |
10.0.8 | 70 | 12/18/2023 |
10.0.7 | 58 | 12/18/2023 |
10.0.6 | 87 | 11/30/2023 |
10.0.5 | 116 | 11/26/2023 |
10.0.5-u20231126-225220-ci | 47 | 11/26/2023 |
10.0.5-u20231126-222245-ci | 41 | 11/26/2023 |
10.0.4 | 55 | 11/26/2023 |
10.0.4-u20231126-091147-ci | 43 | 11/26/2023 |
10.0.3 | 99 | 11/21/2023 |
10.0.3-u20231121-215445-ci | 46 | 11/21/2023 |
10.0.2 | 285 | 4/16/2023 |
10.0.2-u20230416-224316-ci | 63 | 4/16/2023 |
10.0.1 | 118 | 3/20/2023 |
10.0.1-u20230320-002727-ci | 69 | 3/20/2023 |
10.0.1-u20230320-002640-ci | 71 | 3/20/2023 |
10.0.0 | 94 | 3/16/2023 |
10.0.0-u20230316-232553-ci | 69 | 3/16/2023 |
10.0.0-u20230316-232208-ci | 66 | 3/16/2023 |
9.0.8 | 205 | 11/29/2022 |
9.0.8-u20221129-220919-ci | 68 | 11/29/2022 |
9.0.7 | 82 | 11/28/2022 |
9.0.7-u20221128-230001-ci | 73 | 11/28/2022 |
9.0.6 | 150 | 11/26/2022 |
9.0.6-u20221126-224926-ci | 66 | 11/26/2022 |
9.0.6-u20221126-224237-ci | 80 | 11/26/2022 |
9.0.6-u20220821-115705-ci | 220 | 8/21/2022 |
9.0.6-u20220821-115556-ci | 100 | 8/21/2022 |
9.0.5 | 228 | 8/19/2022 |
9.0.5-u20220819-212321-ci | 91 | 8/19/2022 |
9.0.5-u20220810-204006-ci | 101 | 8/10/2022 |
9.0.5-u20220810-203630-ci | 98 | 8/10/2022 |
9.0.5-u20220802-202619-ci | 103 | 8/2/2022 |
9.0.5-u20220711-200552-ci | 99 | 7/11/2022 |
9.0.5-u20220623-215044-ci | 102 | 6/23/2022 |
9.0.4 | 212 | 6/19/2022 |
9.0.4-u20220619-212100-ci | 98 | 6/19/2022 |
9.0.4-u20220619-211350-ci | 91 | 6/19/2022 |
9.0.4-u20220619-211016-ci | 92 | 6/19/2022 |
9.0.4-u20220619-210835-ci | 100 | 6/19/2022 |
9.0.4-u20220619-210723-ci | 95 | 6/19/2022 |
9.0.4-u20220619-210144-ci | 98 | 6/19/2022 |
9.0.4-u20220619-205706-ci | 96 | 6/19/2022 |
9.0.4-u20220619-205417-ci | 98 | 6/19/2022 |
9.0.4-u20220619-204658-ci | 94 | 6/19/2022 |
9.0.4-u20211120-052437-ci | 411 | 11/20/2021 |
9.0.4-u20211120-052103-ci | 402 | 11/20/2021 |
9.0.3 | 496 | 11/20/2021 |
9.0.3-u20211120-040318-ci | 419 | 11/20/2021 |
9.0.3-u20211120-034357-ci | 430 | 11/20/2021 |
9.0.2 | 245 | 6/18/2021 |
9.0.1 | 205 | 6/18/2021 |
9.0.0 | 1,093 | 6/14/2021 |
8.0.2 | 1,064 | 5/2/2021 |
8.0.1 | 1,064 | 5/2/2021 |
8.0.0 | 926 | 5/2/2021 |
7.0.1 | 986 | 4/24/2021 |
7.0.0 | 975 | 4/23/2021 |
6.0.3 | 1,015 | 4/7/2021 |
6.0.2 | 1,093 | 3/8/2021 |
6.0.1 | 1,025 | 3/6/2021 |
6.0.0 | 1,049 | 3/4/2021 |
5.0.2 | 1,075 | 3/1/2021 |
5.0.1 | 1,038 | 1/31/2021 |
5.0.0 | 1,089 | 1/31/2021 |
4.3.0 | 1,086 | 1/30/2021 |
4.2.8 | 997 | 1/27/2021 |
4.2.7 | 1,020 | 1/24/2021 |
4.2.6 | 1,142 | 12/6/2020 |
4.2.5 | 1,187 | 10/29/2020 |
4.2.4 | 1,054 | 10/23/2020 |
4.2.3 | 1,140 | 10/22/2020 |
4.2.3-pre-u20201022-194536 | 944 | 10/22/2020 |
4.2.3-pre-u20201022-194305 | 959 | 10/22/2020 |
4.2.3-pre-u20201022-192900 | 1,014 | 10/22/2020 |
4.2.2 | 1,179 | 6/4/2020 |
4.2.1 | 1,226 | 3/8/2020 |
4.0.5 | 1,246 | 11/21/2019 |
4.0.4 | 1,205 | 11/11/2019 |
4.0.3 | 1,191 | 11/11/2019 |
4.0.2 | 1,200 | 11/10/2019 |
3.0.1 | 1,487 | 2/4/2019 |
3.0.0 | 1,386 | 2/4/2019 |
3.0.0-pre001 | 1,169 | 1/31/2019 |
3.0.0-pre000 | 1,255 | 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