@invoke.task<EOL>def clean(ctx):
clean_command = "<STR_LIT>"<EOL>report.info(ctx, "<STR_LIT>", "<STR_LIT>")<EOL>ctx.run(clean_command)<EOL>egg_name = f"<STR_LIT>"<EOL>report.info(ctx, "<STR_LIT>", "<STR_LIT>")<EOL>for artifact in ("<STR_LIT>", "<STR_LIT>", egg_name, f"<STR_LIT>"):<EOL><INDENT>artifact_dir = ctx.directory / artifact<EOL>if artifact_dir.is_dir():<EOL><INDENT>report.debug(ctx, "<STR_LIT>", f"<STR_LIT>")<EOL>ctx.run(f"<STR_LIT>")<EOL><DEDENT><DEDENT>
Clean previously built package artifacts.