winget-cli

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

CompleteCommand.h (797B)


      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     // Command to enable tab completion scenarios, including allowing them to
      9     // be context sensitive in their data output.
     10     struct CompleteCommand final : public Command
     11     {
     12         CompleteCommand(std::string_view parent) : Command("complete", {}, parent, Visibility::Hidden) {}
     13 
     14         std::vector<Argument> GetArguments() const override;
     15 
     16         Resource::LocString ShortDescription() const override;
     17         Resource::LocString LongDescription() const override;
     18 
     19         Utility::LocIndView HelpLink() const override;
     20 
     21     protected:
     22         void ExecuteInternal(Execution::Context& context) const override;
     23     };
     24 }