@cli.command()<EOL>@click.argument("<STR_LIT:path>", type=click.Path(exists=True, file_okay=False, dir_okay=True, writable=True, resolve_path=True))<EOL>def helper(path):
if sys.platform.startswith("<STR_LIT>"):<EOL><INDENT>src_path = os.path.join(PHLB_BASE_DIR, "<STR_LIT>")<EOL><DEDENT>elif sys.platform.startswith("<STR_LIT>"):<EOL><INDENT>src_path = os.path.join(PHLB_BASE_DIR, "<STR_LIT>")<EOL><DEDENT>else:<EOL><INDENT>print("<STR_LIT>" % sys.platform)<EOL>return<EOL><DEDENT>if not os.path.isdir(src_path):<EOL><INDENT>raise RuntimeError("<STR_LIT>" % src_path)<EOL><DEDENT>for entry in scandir(src_path):<EOL><INDENT>print("<STR_LIT:_>" * <NUM_LIT>)<EOL>print("<STR_LIT>" % entry.name)<EOL>src = entry.path<EOL>dst = os.path.join(path, entry.name)<EOL>if os.path.exists(dst):<EOL><INDENT>print("<STR_LIT>" % dst)<EOL>try:<EOL><INDENT>os.remove(dst)<EOL><DEDENT>except OSError as err:<EOL><INDENT>print("<STR_LIT>" % err)<EOL>continue<EOL><DEDENT><DEDENT>print("<STR_LIT>" % src)<EOL>print("<STR_LIT>" % dst)<EOL>try:<EOL><INDENT>os.link(src, dst)<EOL><DEDENT>except OSError as err:<EOL><INDENT>print("<STR_LIT>" % err)<EOL>continue<EOL><DEDENT><DEDENT>
link helper files to given path