Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/parvardegr/my-script-manager
Template repository to manage your bash scripts as code, the simplest way
https://github.com/parvardegr/my-script-manager
bash bash-script bash-scripting bash-scripts cli command-line command-line-tool linux linux-shell shell
Last synced: 4 months ago
JSON representation
Template repository to manage your bash scripts as code, the simplest way
- Host: GitHub
- URL: https://github.com/parvardegr/my-script-manager
- Owner: parvardegr
- License: mit
- Created: 2023-10-30T14:51:40.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-10-31T08:03:27.000Z (over 1 year ago)
- Last Synced: 2024-04-24T09:08:08.651Z (10 months ago)
- Topics: bash, bash-script, bash-scripting, bash-scripts, cli, command-line, command-line-tool, linux, linux-shell, shell
- Language: Shell
- Homepage:
- Size: 3.91 KB
- Stars: 8
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Linux Script Manager
- 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.
# Usage
1. fork this repositry
2. clone your respository in a nice location (ex: /opt)
3. `cd {clone-location}/my-script-manager`
4. load scrits: `sudo ./scriptmanager --load`
5. open new terminal or logout from existing
6. add your scripts in project root directory (see: example), don't forget `sudo chmod +x your-new-script`
7. push your changes
8. sync scripts: `scriptmanager --sync`
9. [optional] add --sync cronjob: `scriptmanager --cron`
10. access and use your scripts from any machine just by clone it in seconds!
11. enjoy your nice scripts!
## scriptmanager tool
```bash
Script Manager v0.1Usage:
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
```# TODO List
- add alias command: scriptmanager --add-alias "alias ls=ls -lha"
- remove alias command: scriptmanager --remove-alias "ls"
- list aliases command: scriptmanager --list-alias "ls"