Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/daggerok/uao

Unzip archive and open in IDEA IDE, like Josh Long ;)
https://github.com/daggerok/uao

bash bash-script uao

Last synced: 11 days ago
JSON representation

Unzip archive and open in IDEA IDE, like Josh Long ;)

Awesome Lists containing this project

README

        

# uao
Unzip archive and open in IDEA IDE

## install

```bash
mkdir ~/.bin
curl -sS https://raw.githubusercontent.com/daggerok/uao/master/uao > ~/.bin/uao
echo 'export PATH="$HOME/.bin:$PATH"' >> ~/.bash_profile # or ~/.bashrc # or ~/.zshrc
chmod +x ~/.bin/uao
```

or

```bash
git clone --depth=1 --no-single-branch [email protected]:daggerok/uao.git ~/.opt/uao
chmod +x ~/.opt/uao/uao # git update-index --chmod=+x ./uao
mkdir ~/.bin
ln -s `pwd`/.opt/uao/uao ~/.bin/uao
echo 'export PATH="$PATH:$HOME/.bin"' >> ~/.bash_profile # or ~/.bashrc # or ~/.zshrc
```

## usage

* make sure you have `idea` and `unzip` binaries installed on you `macOS` or `Linux` shell (click-click if you on windows:)
* generate new project on https://start.spring.io/
* open it like Josh Long :)
```bash
uao ~/Downloads/demo.zip
```

## example

```bash
# install spring boot:
brew tap spring-io/tap
brew reinstall spring-boot

# create spring-boot project demo.zip archive:
mkdir /tmp/123
cd /tmp/123
spring init

# test uao script:
uao ./demo.zip
```

Enjoy ;)