I would love a Deploy able cannon somewhat like tent this Where you drop the block type the command hit the block and poof* you have yourself a tnt cannon.
Maybe try making a custom tent that is a tnt cannon. Im sure it would take some work but I think it's do-able.
The tent config files dont have anything such as switches, repeaters, or red stone covered blocks sorry to say man i dont know ho to do stuff like that i wish i could.