winget-cli

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

DscCommand.h (879B)


      1 // Copyright (c) Microsoft Corporation.
      2 // Licensed under the MIT License.
      3 #pragma once
      4 #include "Command.h"
      5 #include <winget/ExperimentalFeature.h>
      6 
      7 namespace AppInstaller::CLI
      8 {
      9     struct DscCommand final : public Command
     10     {
     11         DscCommand(std::string_view parent);
     12 
     13         static constexpr std::string_view StaticName() { return "dscv3"sv; };
     14 
     15         std::vector<std::unique_ptr<Command>> GetCommands() const override;
     16         std::vector<Argument> GetArguments() const override;
     17 
     18         Resource::LocString ShortDescription() const override;
     19         Resource::LocString LongDescription() const override;
     20 
     21         Utility::LocIndView HelpLink() const override;
     22 
     23     protected:
     24         void ExecuteInternal(Execution::Context& context) const override;
     25         void ValidateArgumentsInternal(Execution::Args& args) const override;
     26     };
     27 }