CLI tool to quickly generate bash scripts with templates.
- Auto-detects file extension
- Grants execution permissions
- Prevents overwriting existing files
- Custom output paths
- Custom template support
- Default templates: minimal, tool
- Opens script in default editor
Clone the repository:
git clone https://github.com/RaulDevStack/mkscript
cd mkscript
chmod +x mks.sh./mks.sh myscript
./mks.sh myscript -t tool
./mks.sh myscript -p ~/scripts
Read the help page for more information
./mks.sh -h