first deployment of kikomiko with url photos
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
co-authored by
Cursor
parent
8d98304137
commit
ae3ed7c7b7
@@ -0,0 +1,14 @@
|
||||
#!/usr/bin/env python3
|
||||
"""Export complete editable catalog, including inactive records; no secrets."""
|
||||
import argparse
|
||||
from pathlib import Path
|
||||
import server
|
||||
|
||||
if __name__ == '__main__':
|
||||
parser = argparse.ArgumentParser()
|
||||
parser.add_argument('output', type=Path)
|
||||
args = parser.parse_args()
|
||||
if args.output.exists():
|
||||
parser.error('Output exists. Choose a new file to avoid overwriting a backup.')
|
||||
server.init_db()
|
||||
print(server.export_import_bundle(args.output.resolve()))
|
||||
Reference in New Issue
Block a user