Skip to content

Commit

Permalink
(chocolatey#3381) Add new rule command
Browse files Browse the repository at this point in the history
This adds a new command called ´rule` with an alias of `rules` to be
able to view any Validation Rules that have been implemented by
Chocolatey CLI, or the details of a specific view.

This allows a user to see what is implemented when they are packaging
their Chocolatey CLI package. This is intended to be used in the future
to enhance other functionality.
  • Loading branch information
AdmiringWorm committed Jan 26, 2024
1 parent a7f72e0 commit 7d34e1e
Show file tree
Hide file tree
Showing 5 changed files with 939 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/chocolatey.tests/chocolatey.tests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,7 @@
<Compile Include="infrastructure.app\commands\ChocolateyListCommandSpecs.cs" />
<Compile Include="infrastructure.app\commands\ChocolateyApiKeyCommandSpecs.cs" />
<Compile Include="infrastructure.app\commands\ChocolateyConfigCommandSpecs.cs" />
<Compile Include="infrastructure.app\commands\ChocolateyRuleCommandSpecs.cs" />
<Compile Include="infrastructure.app\commands\ChocolateyTemplateCommandSpecs.cs" />
<Compile Include="infrastructure.app\commands\ChocolateyExportCommandSpecs.cs" />
<Compile Include="infrastructure.app\commands\ChocolateyFeatureCommandSpecs.cs" />
Expand Down

0 comments on commit 7d34e1e

Please sign in to comment.