⌨
CLI
Capture logs from terminal!
The Dashcam CLI is available via
npm:
npm install dashcam -g
You can make sure it's installed correctly by running the following command
dashcam version
Simply type
dashcam record
to capture logs from the current shell session.❯ dashcam record
This session is being recorded by Dashcam
Type `exit` to stop recording
Now, to ensure we capture the logs from your CLI, we need to edit the
.bashrc
or .zshrc
. If you need help with this, be sure to join our Discord.Open your profile, and add the following line to the end:
dashcam record
Now, close your terminal and open it again. You should see a confirmation that Dashcam is now tracking your CLI!
Last modified 14d ago