commit e623cedc71a43af39313c3ada301fc309ce51acf
parent f6aaefa9a433a37b1b5a19ccab76528466cdf9df
Author: Kaleb Luedtke <trenlymc@gmail.com>
Date: Mon, 23 Sep 2024 18:40:55 -0500
Add a few more command aliases (#4822)
<!-- To check a checkbox place an "x" between the brackets. e.g: [x] -->
- [x] I have signed the [Contributor License
Agreement](https://cla.opensource.microsoft.com/microsoft/winget-pkgs).
- [ ] This pull request is related to an issue.
-----
###### Microsoft Reviewers: [Open in
CodeFlow](https://microsoft.github.io/open-pr/?codeflow=https://github.com/microsoft/winget-cli/pull/4822)
Diffstat:
3 files changed, 2 insertions(+), 5 deletions(-)
diff --git a/.github/actions/spelling/expect.txt b/.github/actions/spelling/expect.txt
@@ -476,7 +476,6 @@ ronomon
Roronoa
rosoft
rowid
-rowids
roy
rpwgpm
RRF
@@ -556,7 +555,6 @@ taskhostw
tcs
TEMPDIRECTORY
templating
-Templating
temppath
testexampleinstaller
thiscouldbeapc
@@ -613,7 +611,6 @@ WDAG
webpages
Webserver
website
-websites
wesome
wfsopen
wgetenv
diff --git a/src/AppInstallerCLICore/Commands/ConfigureCommand.cpp b/src/AppInstallerCLICore/Commands/ConfigureCommand.cpp
@@ -16,7 +16,7 @@ using namespace AppInstaller::CLI::Workflow;
namespace AppInstaller::CLI
{
ConfigureCommand::ConfigureCommand(std::string_view parent) :
- Command("configure", { "configuration" }, parent, Settings::TogglePolicy::Policy::Configuration)
+ Command("configure", { "configuration", "dsc"}, parent, Settings::TogglePolicy::Policy::Configuration)
{
SelectCurrentCommandIfUnrecognizedSubcommandFound(true);
}
diff --git a/src/AppInstallerCLICore/Commands/RepairCommand.h b/src/AppInstallerCLICore/Commands/RepairCommand.h
@@ -7,7 +7,7 @@ namespace AppInstaller::CLI
{
struct RepairCommand final : public Command
{
- RepairCommand(std::string_view parent) : Command("repair", parent) {}
+ RepairCommand(std::string_view parent) : Command("repair", { "fix" }, parent) {}
std::vector<Argument> GetArguments() const override;