Ui around shell command

I created a simple script that executes when entered into the terminal. Is there a way in PhAb to build a simple ui that executes the command when the button is pushed?

Thanks.

You could make a button in PhAb whose Activate callback runs your script, if you need to see the output of the script, I think you can launh the Terminal with an argument to to run, or you could put a TTY into your own program, they are available as widgets in PhAb and very easy to to integrate.