0.0.4 • Published 1 year ago
pretty-shell v0.0.4
Quick start
Install
# via npm
$ npm i pretty-shell --save
$ npm i pretty-shell -gUsage
Command line:
$ shx mkdir -p foo
$ shx touch foo/bar.txt
$ shx rm -rf fooNode 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')