-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Expand file tree
/
Copy pathShowCommand.h
More file actions
26 lines (19 loc) · 884 Bytes
/
ShowCommand.h
File metadata and controls
26 lines (19 loc) · 884 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
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
#pragma once
#include "Command.h"
namespace AppInstaller::CLI
{
struct ShowCommand final : public Command
{
ShowCommand(std::string_view parent) : Command("show", { "view", "info", "information", "details" }, parent) {}
std::vector<Argument> GetArguments() const override;
Resource::LocString ShortDescription() const override;
Resource::LocString LongDescription() const override;
void Complete(Execution::Context& context, Execution::Args::Type valueType) const override;
Utility::LocIndView HelpLink() const override;
protected:
void ValidateArgumentsInternal(Execution::Args& execArgs) const override;
void ExecuteInternal(AppInstaller::CLI::Execution::Context& context) const override;
};
}