Command Mode
Command mode is opened with :. It is the main way to run tab switches, page actions, import/export operations, and commands that are easier to express as text.
Command mode keys
Section titled “Command mode keys”:opens command modeTabcompletes the current commandEnterruns the current commandEscleaves command mode
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”Tab completes the next command token based on the current page and mode.
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”homeenvhistoryhelpq
help can also be written as ?.
Home commands
Section titled “Home commands”From Home normal mode
Section titled “From Home normal mode”newnew collection NAMEnew folder NAMEimport PATHexport PATHhistoryhelpenvq
With a request selected
Section titled “With a request selected”editrename NAMEcp PATHmv PATHclosedelsend
With a folder selected
Section titled “With a folder selected”rename NAMEcp PATHmv PATHdel
With a collection selected
Section titled “With a collection selected”rename NAMEcpdel
Home command notes
Section titled “Home command notes”newcreates a requestcpon a collection does not take a destination pathimport PATHon Home imports collections as new copiesexport PATHexports all collections unless a collection is selectedrename,import,export,cp,mv, anddelare restricted when you are inside Home request-editing contexts
Env commands
Section titled “Env commands”homeenvhistorynew NAMErename NAMEimport PATHexport PATHset KEY=valuedeldel KEYedithelpq
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
History commands
Section titled “History commands”homeenvhistoryreplayhelpq
History command notes
Section titled “History command notes”replayis only available onHistory- replay uses the selected history entry
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.