MCPcopy Index your code
hub / github.com/archlinux/archinstall / _list_scripts

Function _list_scripts

archinstall/main.py:68–75  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

66
67
68def _list_scripts() -> str:
69 lines = ['The following are viable --script options:']
70
71 for file in (Path(__file__).parent / 'scripts').glob('*.py'):
72 if file.stem != '__init__':
73 lines.append(f' {file.stem}')
74
75 return '\n'.join(lines)
76
77
78def _share_log_command() -> None:

Callers 1

runFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected