Skip to content

System commands source

A command palette command provider for Textual system commands.

This is a simple command provider that makes the most obvious application actions available via the command palette.

SystemCommands class

Bases: Provider

A source of command palette commands that run app-wide tasks.

Used by default in App.COMMANDS.

search async

def search(self, query):

Handle a request to search for system commands that match the query.

Parameters
Name Type Description Default
user_input

The user input to be matched.

required

Yields:

Type Description
Hits

Command hits for use in the command palette.