0.2.0 • Published 7 years ago

easy-shell v0.2.0

Weekly downloads
3
License
MIT
Repository
github
Last release
7 years ago

Easy Shell

Make shell more easy to use.

Installation

npm install -g easy-shell

Get started

#!/bin/bash

. load-easy-shell

# use easy shell components

Components

list

options='
~/Projects/a
~/Projects/b
~/Projects/c
'

list "Choose a file" "$options"
echo $(result)

confirm

confirm "Are you sure" "Y"

if [ "$(result)" == "yes" ]; then
    echo 'yes'
else
    echo 'no'
fi

Dependencies

0.2.0

7 years ago

0.1.0

7 years ago

0.0.3

7 years ago

0.0.2

7 years ago

0.0.1

7 years ago