winget-cli

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

HashCommand.h (655B)


      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 HashCommand final : public Command
      9     {
     10         HashCommand(std::string_view parent) : Command("hash", parent) {}
     11 
     12         virtual std::vector<Argument> GetArguments() const override;
     13 
     14         virtual Resource::LocString ShortDescription() const override;
     15         virtual Resource::LocString LongDescription() const override;
     16 
     17         Utility::LocIndView HelpLink() const override;
     18 
     19     protected:
     20         void ExecuteInternal(Execution::Context& context) const override;
     21     };
     22 }