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 | 84 | 4/22/2024 |
10.0.12 | 115 | 2/17/2024 |
10.0.11 | 77 | 2/15/2024 |
10.0.10 | 135 | 1/12/2024 |
10.0.9 | 66 | 1/11/2024 |
10.0.9-u20240111-235407-ci | 58 | 1/11/2024 |
10.0.8 | 84 | 12/18/2023 |
10.0.7 | 78 | 12/18/2023 |
10.0.6 | 101 | 11/30/2023 |
10.0.5 | 136 | 11/26/2023 |
10.0.5-u20231126-225220-ci | 63 | 11/26/2023 |
10.0.5-u20231126-222245-ci | 49 | 11/26/2023 |
10.0.4 | 68 | 11/26/2023 |
10.0.4-u20231126-091147-ci | 52 | 11/26/2023 |
10.0.3 | 113 | 11/21/2023 |
10.0.3-u20231121-215445-ci | 57 | 11/21/2023 |
10.0.2 | 309 | 4/16/2023 |
10.0.2-u20230416-224316-ci | 74 | 4/16/2023 |
10.0.1 | 130 | 3/20/2023 |
10.0.1-u20230320-002727-ci | 85 | 3/20/2023 |
10.0.1-u20230320-002640-ci | 83 | 3/20/2023 |
10.0.0 | 105 | 3/16/2023 |
10.0.0-u20230316-232553-ci | 84 | 3/16/2023 |
10.0.0-u20230316-232208-ci | 82 | 3/16/2023 |
9.0.8 | 222 | 11/29/2022 |
9.0.8-u20221129-220919-ci | 78 | 11/29/2022 |
9.0.7 | 100 | 11/28/2022 |
9.0.7-u20221128-230001-ci | 82 | 11/28/2022 |
9.0.6 | 168 | 11/26/2022 |
9.0.6-u20221126-224926-ci | 74 | 11/26/2022 |
9.0.6-u20221126-224237-ci | 96 | 11/26/2022 |
9.0.6-u20220821-115705-ci | 230 | 8/21/2022 |
9.0.6-u20220821-115556-ci | 114 | 8/21/2022 |
9.0.5 | 242 | 8/19/2022 |
9.0.5-u20220819-212321-ci | 101 | 8/19/2022 |
9.0.5-u20220810-204006-ci | 111 | 8/10/2022 |
9.0.5-u20220810-203630-ci | 114 | 8/10/2022 |
9.0.5-u20220802-202619-ci | 119 | 8/2/2022 |
9.0.5-u20220711-200552-ci | 116 | 7/11/2022 |
9.0.5-u20220623-215044-ci | 113 | 6/23/2022 |
9.0.4 | 224 | 6/19/2022 |
9.0.4-u20220619-212100-ci | 106 | 6/19/2022 |
9.0.4-u20220619-211350-ci | 99 | 6/19/2022 |
9.0.4-u20220619-211016-ci | 106 | 6/19/2022 |
9.0.4-u20220619-210835-ci | 114 | 6/19/2022 |
9.0.4-u20220619-210723-ci | 103 | 6/19/2022 |
9.0.4-u20220619-210144-ci | 106 | 6/19/2022 |
9.0.4-u20220619-205706-ci | 104 | 6/19/2022 |
9.0.4-u20220619-205417-ci | 112 | 6/19/2022 |
9.0.4-u20220619-204658-ci | 108 | 6/19/2022 |
9.0.4-u20211120-052437-ci | 420 | 11/20/2021 |
9.0.4-u20211120-052103-ci | 418 | 11/20/2021 |
9.0.3 | 509 | 11/20/2021 |
9.0.3-u20211120-040318-ci | 428 | 11/20/2021 |
9.0.3-u20211120-034357-ci | 445 | 11/20/2021 |
9.0.2 | 264 | 6/18/2021 |
9.0.1 | 216 | 6/18/2021 |
9.0.0 | 1,157 | 6/14/2021 |
8.0.2 | 1,132 | 5/2/2021 |
8.0.1 | 1,137 | 5/2/2021 |
8.0.0 | 991 | 5/2/2021 |
7.0.1 | 1,065 | 4/24/2021 |
7.0.0 | 1,038 | 4/23/2021 |
6.0.3 | 1,082 | 4/7/2021 |
6.0.2 | 1,161 | 3/8/2021 |
6.0.1 | 1,111 | 3/6/2021 |
6.0.0 | 1,122 | 3/4/2021 |
5.0.2 | 1,163 | 3/1/2021 |
5.0.1 | 1,110 | 1/31/2021 |
5.0.0 | 1,157 | 1/31/2021 |
4.3.0 | 1,157 | 1/30/2021 |
4.2.8 | 1,068 | 1/27/2021 |
4.2.7 | 1,096 | 1/24/2021 |
4.2.6 | 1,219 | 12/6/2020 |
4.2.5 | 1,247 | 10/29/2020 |
4.2.4 | 1,134 | 10/23/2020 |
4.2.3 | 1,212 | 10/22/2020 |
4.2.3-pre-u20201022-194536 | 1,012 | 10/22/2020 |
4.2.3-pre-u20201022-194305 | 1,052 | 10/22/2020 |
4.2.3-pre-u20201022-192900 | 1,092 | 10/22/2020 |
4.2.2 | 1,255 | 6/4/2020 |
4.2.1 | 1,317 | 3/8/2020 |
4.0.5 | 1,320 | 11/21/2019 |
4.0.4 | 1,274 | 11/11/2019 |
4.0.3 | 1,256 | 11/11/2019 |
4.0.2 | 1,306 | 11/10/2019 |
3.0.1 | 1,563 | 2/4/2019 |
3.0.0 | 1,458 | 2/4/2019 |
3.0.0-pre001 | 1,239 | 1/31/2019 |
3.0.0-pre000 | 1,317 | 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