Add travel booking and place import scripts
This commit is contained in:
parent
a87c9f993e
commit
5f6cb57c2a
10 changed files with 1177 additions and 3 deletions
15
scripts/generate-flight-booking-yaml
Executable file
15
scripts/generate-flight-booking-yaml
Executable file
|
|
@ -0,0 +1,15 @@
|
|||
#!/usr/bin/python3
|
||||
|
||||
import os
|
||||
import sys
|
||||
|
||||
SCRIPT_PATH = os.path.realpath(__file__)
|
||||
SCRIPT_DIR = os.path.dirname(SCRIPT_PATH)
|
||||
REPO_ROOT = os.path.dirname(SCRIPT_DIR)
|
||||
if REPO_ROOT not in sys.path:
|
||||
sys.path.insert(0, REPO_ROOT)
|
||||
|
||||
from agenda.generate_booking_yaml import flight_main
|
||||
|
||||
if __name__ == "__main__":
|
||||
raise SystemExit(flight_main())
|
||||
Loading…
Add table
Add a link
Reference in a new issue