ExportCommand.h (783B)
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 get the set of installed packages on the system. 9 struct ExportCommand final : public Command 10 { 11 ExportCommand(std::string_view parent) : Command("export", parent) {} 12 13 std::vector<Argument> GetArguments() const override; 14 15 Resource::LocString ShortDescription() const override; 16 Resource::LocString LongDescription() const override; 17 18 void Complete(Execution::Context& context, Execution::Args::Type valueType) const override; 19 20 Utility::LocIndView HelpLink() const override; 21 22 protected: 23 void ExecuteInternal(Execution::Context& context) const override; 24 }; 25 }