def cli ( ctx , project_dir ) : exit_code = SCons ( project_dir ) . clean ( ) ctx . exit ( exit_code )
python how to exit a project
Clean the previous generated files .
def cli(ctx, project_dir):
    """Clean the previous generated files."""
    exit_code = SCons(project_dir).clean()
    ctx.exit(exit_code)