MCPcopy Create free account
hub / github.com/aboutcode-org/scancode-toolkit / regen_package_docs

Function regen_package_docs

src/packagedcode/regen_package_docs.py:65–75  ·  view source on GitHub ↗

Regenerate the scancode available packages documentation at `path`.

(
    path,
    *args,
    **kwargs,
)

Source from the content-addressed store, hash-verified

63)
64@click.help_option('-h', '--help')
65def regen_package_docs(
66 path,
67 *args,
68 **kwargs,
69):
70 """
71 Regenerate the scancode available packages documentation at `path`.
72 """
73 click.secho(f'Regenerating package docs at: {path}', err=True)
74 regenerate(doc_location=path)
75 click.secho(f'Documentation regeneration done.', err=True)
76
77
78if __name__ == '__main__':

Callers 1

Calls 1

regenerateFunction · 0.85

Tested by

no test coverage detected