Scripts is a powerful Go-based CLI tool that provides a collection of useful scripts for enhancing your command-line workflow. It offers a range of functionalities including Git operations, Tmux session management, SSH utilities, and more.
- Git operations powered by LLM (semantic commits, staging files)
- Tmux session management (create, switch, list, sync)
- SSH utilities
- Text case conversion
- Command watching with interval-based execution
Download the latest binaries from the Release
page.
To build and install scripts
from source, follow these steps:
- Ensure you have Go installed on your system (version 1.16 or later recommended).
- Clone the repository:
git clone https://github.com/cloudbridgeuy/scripts.git cd scripts
- Build the binary:
go build -ldflags="-w -s" -o scripts
- Move the binary to your local bin directory:
mv scripts ~/.local/bin/scripts
- Make the binary executable:
chmod +x ~/.local/bin/scripts
Ensure that ~/.local/bin
is in your PATH.
After installation, you can run scripts
from anywhere in your terminal:
scripts [command] [subcommand] [flags]
For a list of available commands, run:
scripts --help
Here's a brief overview of the main commands:
scripts git
: Git-related operationssemantic
: Create semantic commits
scripts tmux
: Tmux session managementnew
: Create a new sessiondisplay
: Show running sessionsgo
: Switch to a sessionsync
: Synchronize sessions
scripts ssh
: SSH utilitiesscripts case
: Text case conversionscripts watch
: Watch and execute commands at intervals
For detailed information on each command, use the --help
flag:
scripts [command] --help
Contributions are welcome! Please feel free to submit a Pull Request.
This project is licensed under the MIT License - see the LICENSE file for details.