cmdpal 0.3.0

Rust SDK for PowerToys Command Palette
Documentation
1
2
3
4
5
6
The TopLevelCommands method is called to get the list of actions that should be shown when the user opens the Command Palette.

**TopLevelCommands** is the method that Command Palette will call to get the list of actions that should be shown when the user opens it. These are the commands that will allow the user to interact with the rest of your extension. They can be simple actions, or they can be pages that the user can navigate to.

## Returns

An [`ICommandItem`] array that contains the commands that should be shown in the Command Palette. The commands will be displayed in the order that they are returned by this method.