/ src / modules / cmdpal / ext / Microsoft.CmdPal.Ext.WindowsTerminal / TerminalTopLevelCommandItem.cs
TerminalTopLevelCommandItem.cs
 1  // Copyright (c) Microsoft Corporation
 2  // The Microsoft Corporation licenses this file to you under the MIT license.
 3  // See the LICENSE file in the project root for more information.
 4  
 5  using Microsoft.CmdPal.Ext.WindowsTerminal.Helpers;
 6  using Microsoft.CmdPal.Ext.WindowsTerminal.Pages;
 7  using Microsoft.CmdPal.Ext.WindowsTerminal.Properties;
 8  using Microsoft.CommandPalette.Extensions.Toolkit;
 9  
10  namespace Microsoft.CmdPal.Ext.WindowsTerminal;
11  
12  public partial class TerminalTopLevelCommandItem : CommandItem
13  {
14      public TerminalTopLevelCommandItem(SettingsManager settingsManager, AppSettingsManager appSettingsManager)
15          : base(new ProfilesListPage(settingsManager, appSettingsManager))
16      {
17          Icon = Icons.TerminalIcon;
18          Title = Resources.list_item_title;
19      }
20  }