easy-shell

0.2.0 • Public • Published

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

Readme

Keywords

Package Sidebar

Install

npm i easy-shell

Weekly Downloads

6

Version

0.2.0

License

MIT

Last publish

Collaborators

  • seandou