I am creating my first Arch Linux install script, and I want to automate the base installation as in the archwiki or you can find the same instructions but easier to read here: https://www.gloriouseggroll.tv/arch-linux-efi-install-guide/
I wish to wipe the partition tables, manually I have to type this:
gdisk /dev/sda
x
z
y
y
I want the bash script to automatically do this.