Space commands
sp space creates, selects, renames, destroys, and navigates spaces.
Create
sp space new <name> creates a space. --focus switches to it immediately.
sp space new Work
sp space new --focus Build
Focus
sp space focus [space] selects a space. Inside Supaterm, omitting the target uses the current space.
sp space focus
sp space focus 1
sp space focus <space-uuid>
Rename
sp space rename <name> [space] renames a space.
sp space rename Work
sp space rename Logs 1
sp space rename Build <space-uuid>
Destroy
sp space destroy -y [space] destroys a space. Omit -y to confirm interactively.
sp space destroy -y
sp space destroy -y 1
sp space destroy -y <space-uuid>
Navigate
Use navigation commands to move through spaces:
sp space next
sp space prev
sp space last
Output
Mutating space commands support the standard output flags:
sp space new --json --focus Work
sp space focus --plain 1
sp space destroy -y --quiet 1