- #!/usr/bin/fish
- set SLIDE_NUM $argv[1]
- set SLIDE_NAME $argv[2]
- set SLIDE_TITLE $argv[3]
- set SLIDES_PATH "../godot/slides"
- set TEMPLATE_FOLDER "$SLIDES_PATH/template"
- set SLIDE_FOLDER "$SLIDES_PATH/$SLIDE_NUM/$SLIDE_NAME"
- echo "Copy $TEMPLATE_FOLDER to $SLIDE_FOLDER"
- echo "Rename template to $SLIDE_NAME"
- echo "Set title to $SLIDE_TITLE"
|