gd-slide.fish 343 B

123456789101112131415
  1. #!/usr/bin/fish
  2. set SLIDE_NUM $argv[1]
  3. set SLIDE_NAME $argv[2]
  4. set SLIDE_TITLE $argv[3]
  5. set SLIDES_PATH "../godot/slides"
  6. set TEMPLATE_FOLDER "$SLIDES_PATH/template"
  7. set SLIDE_FOLDER "$SLIDES_PATH/$SLIDE_NUM/$SLIDE_NAME"
  8. echo "Copy $TEMPLATE_FOLDER to $SLIDE_FOLDER"
  9. echo "Rename template to $SLIDE_NAME"
  10. echo "Set title to $SLIDE_TITLE"