def do_cli(ctx, location, runtime, dependency_manager, output_dir, name, no_input):
LOG.debug("<STR_LIT>")<EOL>click.secho("<STR_LIT>", fg="<STR_LIT>")<EOL>no_build_msg = """<STR_LIT>"""<EOL>ect generated: {output_dir}/{name}<EOL>s you can take next within the project folder<EOL>===============================================<EOL>Install dependencies<EOL>Invoke Function: sam local invoke HelloWorldFunction --event event.json<EOL>Start API Gateway locally: sam local start-api<EOL>format(output_dir=output_dir, name=name)<EOL>no_build_step_required = (<EOL>"<STR_LIT>", "<STR_LIT>", "<STR_LIT>", "<STR_LIT>", "<STR_LIT>", "<STR_LIT>", "<STR_LIT>", "<STR_LIT>", "<STR_LIT>")<EOL>next_step_msg = no_build_msg if runtime in no_build_step_required else build_msg<EOL>try:<EOL><INDENT>generate_project(location, runtime, dependency_manager, output_dir, name, no_input)<EOL>if not location:<EOL><INDENT>click.secho(next_step_msg, bold=True)<EOL>click.secho("<STR_LIT>".format(name=name), bold=True)<EOL><DEDENT>click.secho("<STR_LIT>", fg="<STR_LIT>")<EOL><DEDENT>except GenerateProjectFailedError as e:<EOL><INDENT>raise UserException(str(e))<EOL><DEDENT>
Implementation of the ``cli`` method, just separated out for unit testing purposes