Simplest way to test if CSI camera is functional from cli

I’m having some issues with my gstreamer pipeline and i’m not entirely sure my camera is functional. Without using the gui, what’s the simplest way to test whether the camera is functional? Maybe a built in utility that captures a jpg or something?

The argus one_shot example worked for me. It’s in:

/usr/src/nvidia/tegra_multimedia_api/argus/samples/oneShot

on the nano