Identify the target BluOS device using `--device`, `BLU_DEVICE`, or the default configuration.
Determine the desired action (play, pause, stop, volume control, grouping, TuneIn search).
Construct the appropriate `blu` command with the necessary arguments.
Execute the `blu` command.
Parse the output (if `--json` is used) to confirm success or handle errors.
Provide feedback to the user about the action's result.