Skip to content
Snippets Groups Projects
Commit dc67bc64 authored by Eliott Sammier's avatar Eliott Sammier
Browse files

CLI: add subcommands for extract / transform / export

parent 48ea6d41
Branches
No related tags found
1 merge request!1Main
......@@ -221,10 +221,18 @@ convert)
activate_venv
python "$SCRIPTS_DIR/src/main.py"
;;
extract-rdf)
extract)
activate_venv
python "$SCRIPTS_DIR/src/extract.py"
;;
transform)
activate_venv
python "$SCRIPTS_DIR/src/transform.py"
;;
export)
activate_venv
python "$SCRIPTS_DIR/src/export.py"
;;
extract-mp3)
for audio_file in "$SOURCES_DIR/contenu/media/"*.swf; do
"$SCRIPTS_DIR/extract_mp3.sh" "$@" --output-dir "$RESULTS_DIR/audio" "$audio_file"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment