()
| 66 | |
| 67 | |
| 68 | def _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 | |
| 78 | def _share_log_command() -> None: |