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.
- Unzip files and open them directly in Visual Studio Code or IntelliJ IDEA.
- Supports easy-to-use commands like
uno code demo.zip
oruno idea demo.zip
. - Managed with Cobra for efficient command-line argument handling.
- Go installed on your system.
- Basic understanding of Go, Cobra, and Git.
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
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.
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
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