Is there a way to enter Mavlink commands directly on a command line interface?

Is there a way to enter Mavlink commands directly on a command line interface?