def start(self):
self.check_dependencies()<EOL>self.args = self.parser.parse_args()<EOL>if not hasattr(self.args, '<STR_LIT>'):<EOL><INDENT>self.parser.print_help()<EOL>return<EOL><DEDENT>cmd = self.args.cmd<EOL>try:<EOL><INDENT>if cmd.app_dir_required and not self.in_app_directory:<EOL><INDENT>raise EnvironmentError(<EOL>"<STR_LIT>"<EOL>"<STR_LIT>".format(cmd.title, os.getcwd()))<EOL><DEDENT>cmd.run(self.args)<EOL><DEDENT>except sh.ErrorReturnCode as e:<EOL><INDENT>raise<EOL><DEDENT>
Run the commands