Skip to content

Bump DotMake.CommandLine from 3.5.0 to 3.7.0 - #19

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/nuget/DotMake.CommandLine-3.7.0
Open

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/nuget/DotMake.CommandLine-3.7.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Sep 13, 2026

Copy link
Copy Markdown

Updated DotMake.CommandLine from 3.5.0 to 3.7.0.

Release notes

Sourced from DotMake.CommandLine's releases.

3.7.0

  • Improved: Redesigned CliNamer class. From now on, auto generated short aliases for commands and options
    will be single character only to be compatible with POSIX conventions
    (to prevent confusion with argument bundling/clustering e.g. -wp meaning -w and -p).
    This may be a BREAKING CHANGE in your CLI app so check your short aliases if you depended on auto-generation.

    The new rules:

    First letter of the name will be used to create short form which is converted according to [CliCommand].NameCasingConvention property;
    if it conflicts, the case of the letter is changed;
    if it conflicts again, first letter of the next word in the name is tried and so on.
    (e.g. Info -> i or I, ServerPort -> s or S or p or P, Option1 -> o or O)
    No short form alias will be added if a non-conflicting one can not be found, user can manually set a specific alias for these missing ones.

    For options, single hyphen/dash prefix is added to the short form.
    (e.g. Info -> -i or -I, ServerPort -> -s or -S or -p or -P, Option1 -> -o or -O)
    This can be changed via [CliCommand].ShortFormPrefixConvention property (default: SingleHyphen).

    More robust handling of conflicts in CliNamer, i.e. checks all conflicts at once and then throws an exception which
    lists all errors.

  • Improved: Strong name sign the DLLs for NuGet package. Signing will be done only when DotMake.snk exists,
    it's not committed to this repository.

3.6.0

  • Improved: Do not generate any source code if DotMake.CommandLine.dll is not actually referenced in the project.
    This should at least fix the issue: by default analyzers/generators in Unity apply to every referenced child projects.

    However for the main project which has the <PackageReference Include="DotMake.CommandLine" />,
    the DLL is implicitly referenced and there is no feasible/performant way in source generator
    to find if the DLL is actually used/consumed.

    First way: In .csproj, set this new property to false or disable to disable source generator (to true or enable for reverse):

    <PropertyGroup>
      <DotMakeSourceGenerator>disable</DotMakeSourceGenerator>
    </PropertyGroup>            

    Second Way: In .csproj, exclude compile assets to mimic no DotMake.CommandLine.dll reference:

    <PackageReference Include="DotMake.CommandLine" Version="3.6.0">
      <ExcludeAssets>compile</ExcludeAssets>
    </PackageReference>
  • Improved: Updated to version 2.0.11 of System.CommandLine.

  • Improved: context.ShowValues() will now show directives, and also parent commands and their options and arguments.
    It will also use the theme colors for columns.

  • Fixed: context.Result.HasArgs was not returning true when there was some argument/option with default value.

  • Fixed: CliParser.FixArgs() should not blindly remove trailing escaped double quotes in args.
    It should remove only if the double quote is the only one per args array element (no matching starting double quote).
    So for example it should not be removed for this -e "CompanyRegistrationNumber == \"24256790\""
    but it should be removed for --source "C:\myfiles\".
    This effects Cli.Parse(string[]), Cli.Run(string[] args) and Cli.RunAsync(string[]) which uses CliParser.FixArgs().

Commits viewable in compare view.

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

---
updated-dependencies:
- dependency-name: DotMake.CommandLine
  dependency-version: 3.7.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added .NET Pull requests that update .NET code dependencies Pull requests that update a dependency file labels Sep 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file .NET Pull requests that update .NET code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants