Sigrok-cli is a command-line data acquisition and protocol decoding software.
It supports sample acquisition from logic analyzer, oscilloscope, multimeter, and other hardware, as well as running protocol decoders over the sample data (either from hardware or loaded from files).