touch extra, touchx is like touch but automatically creates any missing parent directories before creating the file.
touchx is not a replacement for touch.
hidayat@thinkbuntu:~$ touch path/file.txt
touch: cannot touch 'path/file.txt': No such file or directory
🤮 everybody hate this error because directory `path` does not exist
hidayat@thinkbuntu:~$ touchx path/file.txt
2025/06/06 13:53:15 INFO donego install github.com/Hidayathamir/touchx@latesttouchx path/file.txtgit clone https://github.com/Hidayathamir/touchx.git
cd touchx
go build -o touchx./touchx path/file.txtmove binary ./touchx to your PATH.