FeaturesCommand.h (767B)
1 // Copyright (c) Microsoft Corporation. 2 // Licensed under the MIT License. 3 #pragma once 4 #include "Command.h" 5 #include <winget/UserSettings.h> 6 7 namespace AppInstaller::CLI 8 { 9 struct FeaturesCommand final : public Command 10 { 11 // This command outputs all the experimental features that are available, if they are enabled/disabled 12 // and a link to the spec. 13 FeaturesCommand(std::string_view parent) : Command("features", parent) {} 14 15 virtual Resource::LocString ShortDescription() const override; 16 virtual 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 } 24 #pragma once