Command_line template support

I lost hours of time, before I realized that the command_line integration doesn’t support templating for the commands. It would be great, as it would allow users to compose commands based on some entity data.
For example this string works great in the dev tools -> template and in a shell_command, but the content of input_text.token is not injected in case of a ‘command_line’. There the string stays literally the same:

'/usr/bin/curl -s -X GET -H "Content-Type: application/json" -H "Authorization: Bearer {{state_attr("input_text.token", "token")}}" http://192.168.178.xx:8123/api/states/switch.power_on_off'

Same here. Very suprising.