gocli

command module
v1.0.4 Latest Latest
Warning

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

Go to latest
Published: Jun 23, 2025 License: MIT Imports: 1 Imported by: 0

README

gocli

A simple, cross-platform CLI tool written in Go for running custom scripts and installing packages from the terminal. Built with the Cobra CLI framework, gocli is designed to be easily extensible and user-friendly.

Features

  • Run custom shell scripts with subcommands
  • Install tools like Neofetch via CLI
  • Easily extensible for new scripts and commands
  • Cross-platform support

Installation

To install gocli globally, run:

bash <(curl -fsSL https://raw.githubusercontent.com/2SSK/gocli/main/install.sh)

Or, build from source:

git clone https://github.com/2SSK/gocli.git
cd gocli
go build -o gocli

Usage

Run a script
gocli run hello -a "World"
Install Neofetch
gocli install neofetch
Show help
gocli --help

Project Structure

.
├── cmd/         # CLI command implementations
├── scripts/     # Shell scripts
├── install.sh   # Installer script
├── main.go      # Entry point

Requirements

  • Go 1.18+
  • Bash
  • Internet connection (for some scripts)

Contributing

Contributions are welcome! Please open issues or submit pull requests for new features, bug fixes, or improvements.

License

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

Documentation

Overview

Copyright © 2025 NAME HERE <EMAIL ADDRESS>

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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