Terminal Window
The <TerminalWindow> component renders a terminal-style window with a dark background and monospace text. Use <Command>, <Output>, and <Line> to compose rich terminal sessions with colored formatting. Built on top of DesktopWindow.
Basic commands
Code
Output
pnpm install ciderpress
Packages: +42 Progress: resolved 187, reused 180, downloaded 7 Done in 2.3s
Multiple commands
Code
Output
ciderpress syncSynced 24 pages (3 new, 2 updated, 19 skipped)ciderpress buildBuild completed in 4.2s
Output: .ciderpress/dist/
Custom title
Code
Output
ls docs/getting-started/ concepts/ references/ README.md
Colored output
Use <Line> within <Output> for colored and styled text:
Code
Output
ciderpress check◆ ciderpress check
◇ Config valid ◇ 24 pages resolved ▲ 2 pages missing descriptions
└ All checks passedError output
Code
Output
ciderpress build◆ ciderpress build
✖Configuration validation failed
sections
: must have at least one entry
title
: required
└ Build failedGit workflow
Code
Output
git status
On branch feat/docs
Changes not staged for commit:
modified: ciderpress.config.ts modified: docs/getting-started/intro.mdUntracked files:
docs/concepts/workspaces.mdgit add -A && git commit -m "docs: add workspace guide"[feat/docs 3a1b2c3] docs: add workspace guide 3 files changed, 84 insertions(+), 12 deletions(-)