winget-cli

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

ConfigureValidateCommand.h (744B)


      1 // Copyright (c) Microsoft Corporation.
      2 // Licensed under the MIT License.
      3 #pragma once
      4 #include "Command.h"
      5 
      6 namespace AppInstaller::CLI
      7 {
      8     struct ConfigureValidateCommand final : public Command
      9     {
     10         ConfigureValidateCommand(std::string_view parent) : Command("validate", parent) {}
     11 
     12         std::vector<Argument> GetArguments() const override;
     13 
     14         Resource::LocString ShortDescription() const override;
     15         Resource::LocString LongDescription() const override;
     16 
     17         Utility::LocIndView HelpLink() const override;
     18 
     19     protected:
     20         void ExecuteInternal(Execution::Context& context) const override;
     21         void ValidateArgumentsInternal(Execution::Args& execArgs) const override;
     22     };
     23 }