Template repository to manage your bash scripts as code, the simplest way
MIT License
- Don't keep your bash scripts in a repository?😱
- Do it with my-script-manager today!
Manage your day to day or work linux bash scripts as a git repository 😍 with command line tool to auto update and sync your machine. 💘
With my-script-manager you can share your scripts between your devices and with your friends and colleagues, easily setup your new devices, keep track of your scripts and never lost them again.
💌 Help this project evolve by your contributin.
fork this repositry
clone your respository in a nice location (ex: /opt)
cd {clone-location}/my-script-manager
load scrits: sudo ./scriptmanager --load
open new terminal or logout from existing
add your scripts in project root directory (see: example), don't forget sudo chmod +x your-new-script
push your changes
sync scripts: scriptmanager --sync
[optional] add --sync cronjob: scriptmanager --cron
access and use your scripts from any machine just by clone it in seconds!
enjoy your nice scripts!
Script Manager v0.1
Usage:
scriptmanager [COMMAND]
Commands:
--sync: pull from origin and sync scripts
--load: init my-script-manager and add scripts to PATH (use .profile)
--cron: add cronjob to --sync each 5 minutes
--help: show this message