ImportCommand.h (672B)
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 install a set of packages from a list. 9 struct ImportCommand final : public Command 10 { 11 ImportCommand(std::string_view parent) : Command("import", parent) {} 12 13 std::vector<Argument> GetArguments() const override; 14 15 Resource::LocString ShortDescription() const override; 16 Resource::LocString LongDescription() const override; 17 18 Utility::LocIndView HelpLink() const override; 19 20 protected: 21 void ExecuteInternal(Execution::Context& context) const override; 22 }; 23 }