Skip to content

Latest commit

 

History

History
67 lines (50 loc) · 1.45 KB

README.md

File metadata and controls

67 lines (50 loc) · 1.45 KB

Quick start

Install

# via npm
$ npm i pretty-shell --save
$ npm i pretty-shell -g

Usage

Command line:

$ shx mkdir -p foo
$ shx touch foo/bar.txt
$ shx rm -rf foo

Node API:

const shell = require('pretty-shell')
const { mkkdir, touch , rm } = require('pretty-shell')

Configuration

Commands

category command description
fs cd
ls
cat
chmod
cp
find
pwd
net ifconfig
netstat
ping
os date
free
uname

Examples

const { find } = require('pretty-shell')