Skip to content

Commit

Permalink
fix: package display app help description
Browse files Browse the repository at this point in the history
  • Loading branch information
ajpinedam committed Nov 20, 2024
1 parent 463560e commit d15dced
Show file tree
Hide file tree
Showing 15 changed files with 71 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,9 @@
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<data name="AppFullName" xml:space="preserve">
<value>Provides additional package commands.</value>
</data>
<data name="CommandDescription" xml:space="preserve">
<value>Searches one or more package sources for packages that match a search term. If no sources are specified, all sources defined in the NuGet.Config are used.</value>
</data>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
// The .NET Foundation licenses this file to you under the MIT license.

using System.CommandLine;
using LocalizableStrings = Microsoft.DotNet.Tools.Package.LocalizableStrings;

namespace Microsoft.DotNet.Cli
{
Expand All @@ -11,11 +12,11 @@ internal class PackageCommandParser

public static CliCommand GetCommand()
{
CliCommand command = new DocumentedCommand("package", DocsLink);
CliCommand command = new DocumentedCommand("package", DocsLink, LocalizableStrings.AppFullName);
command.SetAction((parseResult) => parseResult.HandleMissingCommand());
command.Subcommands.Add(PackageSearchCommandParser.GetCommand());

return command;
}
}
}
}

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit d15dced

Please sign in to comment.