This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# This script will generate an empty datapack with the basic files needed | |
# It prompts the user to input details like parent directory, datapack name, format, and description. | |
# global variables: use_gum, parent_dir, name, pack_format, description, selected_features, subdirectories | |
# Helper function to join array elements with a specified delimiter | |
function joinArrayWith() { | |
local delimiter="$1" | |
shift |