MSPro.CLArgs 1.2104.12.1

There is a newer version of this package available.
See the version list below for details.
dotnet add package MSPro.CLArgs --version 1.2104.12.1
NuGet\Install-Package MSPro.CLArgs -Version 1.2104.12.1
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="MSPro.CLArgs" Version="1.2104.12.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add MSPro.CLArgs --version 1.2104.12.1
#r "nuget: MSPro.CLArgs, 1.2104.12.1"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install MSPro.CLArgs as a Cake Addin
#addin nuget:?package=MSPro.CLArgs&version=1.2104.12.1

// Install MSPro.CLArgs as a Cake Tool
#tool nuget:?package=MSPro.CLArgs&version=1.2104.12.1

2021-04-12

  • Targets can now be used in a CommandContext.

    Previously, Targets were available in CommandLineArguments, only. This made it very inconvenient to use Targets with Commander.ExecuteCommand. Now you can specify a property in your CommandContext that will receive the targets specified in the command-line.

    class CommandContext
    {
      [Targets]
        public List<string> Directories { get; set; } = new();
        ...
    }
    

    (See again the CleanSolution CLArgs application example for using Targets)

  • BETA Support for OptionTagValue ' ' to allow blanks as option-value separator, like /p "Parameter value" /x 5 instead of /p:"Parameter value" /x:5. Basically, this works; BETA because I haven't extensively tested all scenarios.

  • Improved Settings to support help-text output for different consoles width': HelpAlignColumn and HelpFullWidth properties.

  • Provides files ('@' token) are now found in the current (working) directory and then in the application's (exe) directory. This is extremely useful when you want to create Profiles.

Self-Contained Assemblies

  • NO support for automatic Command resolution (AssemblyCommandResolver) with self-contained Assemblies, yet. more..

Command-Line Profiles

A Profile is a collection of predefined command-line arguments. You can store such profiles as global profiles in the Application (EXE) directory or you can override these global profiles by providing a local profiles in the current working directory.

If you store your application together with its global profiles, for example, here %LocalAppdata%\MSPro\Programs (don't forget to set a path to it), you can run CleanSolution.Exe @sln.profile from any working directory and apply the settings from the global profile stored with the application.

Product Compatible and additional computed target framework versions.
.NET net5.0 is compatible.  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 netcoreapp2.0 was computed.  netcoreapp2.1 is compatible.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 is compatible. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 is compatible. 
.NET Framework net452 is compatible.  net46 was computed.  net461 was computed.  net462 is compatible.  net463 was computed.  net47 was computed.  net471 was computed.  net472 is compatible.  net48 is compatible.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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
2.2312.16 185 12/16/2023
2.2208.2 463 8/24/2022
1.2112.2 303 12/11/2021
1.2109.7 301 9/7/2021
1.2104.12.1 298 4/12/2021
1.2104.9.1 320 4/10/2021
1.2012.29.1 339 12/29/2020
1.2009.8.1 403 9/8/2020
1.2008.5.2 457 8/5/2020