@voxframeworks/linetools
v1.0.5
Published
command line tools for js
Maintainers
Readme
_ _ _____ _
| | (_)_ __ __|_ _|__ ___ | |___
| | | | '_ \ / _ \| |/ _ \ / _ \| / __|
| |___| | | | | __/| | (_) | (_) | \__ \
|_____|_|_| |_|\___||_|\___/ \___/|_|___/
Linetools is a npm package that lets you use command line tools in a js file.
An Example usage is:
linetools.mkdir('testDir');
This will create a directory named testDir in the current directory.
We have many commands available.
The list of commands we have is:
• mkdir
• rmdir
• cp
• mv
• touch
• tar (fixed)
-----------------
Tar usage:
linetools.tar('testOUT', 'testDir', 'rezip')
TestDir = Directory to be zipped
TestOut = Directory for the zip to be put in
rezip = zip
unzip = unzip
------------------
Chmod tips:
7 = read, write, execute
5 = read, execute
0 = none
------------------
We will be adding more soon!
By VoxFrameworks