scripts

command module
v0.0.0-...-feba14f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 3, 2025 License: MIT Imports: 1 Imported by: 0

README

Scripts

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.

Table of Contents

Features

  • 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

Installation

Pre-built Binary

Download the latest binaries from the Release page.

Building from Source

To build and install scripts from source, follow these steps:

  1. Ensure you have Go installed on your system (version 1.16 or later recommended).
  2. Clone the repository:
    git clone https://github.com/cloudbridgeuy/scripts.git
    cd scripts
    
  3. Build the binary:
    go build -ldflags="-w -s" -o scripts
    
  4. Move the binary to your local bin directory:
    mv scripts ~/.local/bin/scripts
    
  5. Make the binary executable:
    chmod +x ~/.local/bin/scripts
    

Ensure that ~/.local/bin is in your PATH.

Usage

After installation, you can run scripts from anywhere in your terminal:

scripts [command] [subcommand] [flags]

For a list of available commands, run:

scripts --help

Commands

Here's a brief overview of the main commands:

  • scripts git: Git-related operations
    • semantic: Create semantic commits
  • scripts tmux: Tmux session management
    • new: Create a new session
    • display: Show running sessions
    • go: Switch to a session
    • sync: Synchronize sessions
  • scripts ssh: SSH utilities
  • scripts case: Text case conversion
  • scripts watch: Watch and execute commands at intervals

For detailed information on each command, use the --help flag:

scripts [command] --help

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Documentation

Overview

Copyright © 2024 Guzmán Monné guzman.monne@cloudbridge.com.uy

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Directories

Path Synopsis
pkg
git

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL