First run tutorial¶
This tutorial uses a realistic test command and shows the full loop: record, inspect, search, export, rerun, and clean.
Create a sample command¶
From any project directory, run:
Record a failing command
carrier run bash -c 'echo "build started"; echo "warning: example" >&2; sleep 1; exit 1'
The command exits with 1, and carrier exits with 1 too.
Tip
That exit-code behavior means carrier run can wrap commands in scripts without hiding failures.
Inspect latest run¶
Output includes:
ID: 42
Status: failed
Command: bash -c 'echo "build started"; echo "warning: example" >&2; sleep 1; exit 1'
CWD: /home/alice/project
Exit: 1
Duration: 1s
Show output¶
For carrier run, stdout and stderr are shown separately.
Tail output¶
Tail both streams with labels:
Tail one stream:
Search logs¶
Search checks command text, cwd, and stored output logs.
Export report¶
The report is Markdown, with metadata plus output blocks.
Rerun from original directory¶
Rerun creates a new run record.
If you want to edit the command first:
Try JSON output¶
Use JSON when integrating with scripts.
Clean when done¶
Preview:
Delete: