diff options
| author | uvok | 2025-06-22 16:23:44 +0200 |
|---|---|---|
| committer | uvok | 2025-06-22 16:23:44 +0200 |
| commit | 3dc5da99e64bb4ae71a36fec156dba925ec67ead (patch) | |
| tree | 244b95ca98e58691e24c5fb17e85df7c4d081c51 | |
| parent | 4255714d327c7966fddda464ba7ff9868fefc1b9 (diff) | |
Get input dir from cmdline
| -rw-r--r-- | main.py | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -7,6 +7,8 @@ from converters.links_to_gemini import convert_links_to_gemini, convert_file_lin import shutil dir = "input" +if len(sys.argv) > 1: + dir=sys.argv[1] def wipe_old(): for root, dirs, files in os.walk("output"): |
