Giter Site home page Giter Site logo

go-unzip-and-open's Introduction

UNO (Unzip and Open) in Go

UNO is a simple CLI tool built with Go that unzips files and opens them in a specified IDE or text editor. It provides a user-friendly interface for quickly accessing and managing your files.

Features

  • Unzip files and open them directly in Visual Studio Code or IntelliJ IDEA.
  • Supports easy-to-use commands like uno code demo.zip or uno idea demo.zip.
  • Managed with Cobra for efficient command-line argument handling.

Prerequisites

  • Go installed on your system.
  • Basic understanding of Go, Cobra, and Git.

Getting Started

1. Clone the Repository

Start by cloning the repository to your local machine:

git clone https://github.com/mohdaquib171/go-unzip-and-open.git
cd go-unzip-and-open

2. Build the CLI Tool

Navigate to the project directory and build the CLI tool:

go build -o uno

This will create an executable file named uno that you can use to run commands.

How to Use

Opening in Visual Studio Code

To unzip a file and open it in Visual Studio Code, use the following commands:

uno code <zip_file_name>.zip

You can also specify the file with flags:

uno code -f <zip_file_name>.zip
uno code --file <zip_file_name>.zip

Opening in IntelliJ IDEA

To unzip a file and open it in IntelliJ IDEA, use the following commands:

uno idea <zip_file_name>.zip

You can also specify the file with flags:

uno idea -f <zip_file_name>.zip
uno idea --file <zip_file_name>.zip

Demo

Demo

go-unzip-and-open's People

Contributors

mohdaquib171 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.