Command Palette
Current builds use Textual’s command palette, opened with Ctrl+P. It is the main way to run tab switches, page actions, import/export operations, replay actions, and system commands such as Help.
Examples in this page omit a leading : because the current UI opens a palette. If you paste older :rename-style commands, piespector still parses them.
Palette keys
Section titled “Palette keys”Ctrl+Popens the paletteTabaccepts the highlighted completionEnterruns the selected commandEsccloses the palette
Quoting
Section titled “Quoting”Commands accept quoted names and paths:
rename "Books API v2"import "My Collections.json"mv "Target / Auth Folder"Use quotes when names or filesystem paths contain spaces.
Completion
Section titled “Completion”Command completion
Section titled “Command completion”Suggestions are context-sensitive. The palette only suggests commands that make sense for the current tab and Home context.
Path completion
Section titled “Path completion”Tab completes:
- filesystem paths for
import PATH - filesystem paths for
export PATH - Home move and copy destinations for
mv PATHandcp PATH
Commands available on every main page
Section titled “Commands available on every main page”homeenvhistory
Home commands
Section titled “Home commands”Home with no selected collection, folder, or request action
Section titled “Home with no selected collection, folder, or request action”newnew collection NAMEimport PATHexport PATHhistoryenv
With a request selected in the sidebar
Section titled “With a request selected in the sidebar”newnew collection NAMEnew folder NAMEimport PATHexport PATHeditrename NAMEcp PATHmv PATHdelhistoryenv
With a folder selected in the sidebar
Section titled “With a folder selected in the sidebar”newnew collection NAMEnew folder NAMEimport PATHexport PATHrename NAMEcp PATHmv PATHdelhistoryenv
With a collection selected in the sidebar
Section titled “With a collection selected in the sidebar”newnew collection NAMEnew folder NAMEimport PATHexport PATHrename NAMEcpdelhistoryenv
Inside Home request sections or response focus
Section titled “Inside Home request sections or response focus”historyenv
Home command notes
Section titled “Home command notes”newcreates a requestnew folder NAMEonly makes sense when a collection or folder is selectedcpon a collection does not take a destination pathimport PATHon Home imports collections as new copiesexport PATHexports all collections unless a collection is selected- request-editing contexts intentionally reduce the command list to tab-switch actions
- sending is a key-driven action on
Homewiths, not a palette command
Env commands
Section titled “Env commands”homeenvhistorynew NAMErename NAMEimport PATHexport PATHset KEY=valuedeldel KEYedit
Env command notes
Section titled “Env command notes”new NAMEcreates a new env setrename NAMErenames the selected env setset KEY=valuewrites a key into the current env setdel KEYdeletes an env variable by namedeldeletes the selected env setimport PATHcreates new env set(s) instead of merging into the selected setexport PATHwrites the current env pairs- env import/export commands are key/value oriented;
DescriptionandSensitiveare part of app storage, not.envexport files
History commands
Section titled “History commands”homeenvhistoryreplay
History command notes
Section titled “History command notes”replayis only available onHistory- replay uses the selected history entry
ris also the direct replay key onHistory
Error and usage behavior
Section titled “Error and usage behavior”If a command is valid but incomplete, piespector reports a usage hint such as:
Usage: import PATHUsage: rename NAMEUsage: mv PATH
If quoting is broken, command parsing reports:
Unclosed quote in command.
If a destination cannot be resolved for mv or cp, piespector reports one of:
Destination not found.Destination is ambiguous. Use a fuller path.
Commands that existed in older docs but are not current palette commands include help, ?, q, send, and close.
quit and exit still quit the app if you type them directly, but they are not suggested as normal page commands.