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: 9 months ago
JSON representation
Unzip archive and open in IDEA IDE, like Josh Long ;)
- Host: GitHub
- URL: https://github.com/daggerok/uao
- Owner: daggerok
- License: mit
- Created: 2020-03-07T14:19:22.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2024-01-17T01:42:33.000Z (over 2 years ago)
- Last Synced: 2025-04-30T20:48:48.140Z (about 1 year ago)
- Topics: bash, bash-script, uao
- Language: Shell
- Homepage:
- Size: 10.7 KB
- Stars: 7
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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 git@github.com: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 ;)