generate app using command line instead of gui