diff --git a/src/modules/cmdpal/Exts/TemplateExtension/Pages/TemplateExtensionPage.cs b/src/modules/cmdpal/Exts/TemplateExtension/Pages/TemplateExtensionPage.cs new file mode 100644 index 0000000000..acbd925780 --- /dev/null +++ b/src/modules/cmdpal/Exts/TemplateExtension/Pages/TemplateExtensionPage.cs @@ -0,0 +1,30 @@ +// Copyright (c) Microsoft Corporation +// The Microsoft Corporation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. + +using System; +using Microsoft.CmdPal.Extensions; +using Microsoft.CmdPal.Extensions.Helpers; + +namespace TemplateExtension; + +internal sealed partial class TemplateExtensionPage : ListPage +{ + public TemplateExtensionPage() + { + Icon = new(string.Empty); + Name = "TemplateDisplayName"; + } + + public override ISection[] GetItems() + { + return [ + new ListSection() + { + Items = [ + new ListItem(new NoOpCommand()) { Title = "TODO: Implement your extension here" } + ], + } + ]; + } +} diff --git a/src/modules/cmdpal/Exts/TemplateExtension/TemplateExtension.csproj b/src/modules/cmdpal/Exts/TemplateExtension/TemplateExtension.csproj index a101b90964..fd6552d2ff 100644 --- a/src/modules/cmdpal/Exts/TemplateExtension/TemplateExtension.csproj +++ b/src/modules/cmdpal/Exts/TemplateExtension/TemplateExtension.csproj @@ -1,4 +1,4 @@ - + WinExe @@ -36,6 +36,11 @@ + + + + +