how to deploy a command line application