forked from microsoft/winget-cli
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathDscCommand.h
More file actions
27 lines (21 loc) · 879 Bytes
/
DscCommand.h
File metadata and controls
27 lines (21 loc) · 879 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
#pragma once
#include "Command.h"
#include <winget/ExperimentalFeature.h>
namespace AppInstaller::CLI
{
struct DscCommand final : public Command
{
DscCommand(std::string_view parent);
static constexpr std::string_view StaticName() { return "dscv3"sv; };
std::vector<std::unique_ptr<Command>> GetCommands() const override;
std::vector<Argument> GetArguments() const override;
Resource::LocString ShortDescription() const override;
Resource::LocString LongDescription() const override;
Utility::LocIndView HelpLink() const override;
protected:
void ExecuteInternal(Execution::Context& context) const override;
void ValidateArgumentsInternal(Execution::Args& args) const override;
};
}