1.0.4 • Published 11 years ago
lsf v1.0.4
Introduction
A command line tool to list the directory structure
Usage
Install
Type sudo npm install -g lsf
to install it
Function
You can try lsf -h
to get detail
Usage: lsf [options]
Options:
-h, --help output usage information
-V, --version output the version number
-i, --input <string> input a directory path, default ./
-o, --output <string> input a file path to save the output
-d, --deep <integer> input a recursion deep, default 1
Example
Type lsf -d 2
in lsf project directory
Output:
|-- ./ (dir)
|-- .git (dir)
|-- COMMIT_EDITMSG
|-- FETCH_HEAD
|-- HEAD
|-- ORIG_HEAD
|-- branches (dir)
|-- config
|-- description
|-- hooks (dir)
|-- index
|-- info (dir)
|-- logs (dir)
|-- objects (dir)
|-- refs (dir)
|-- lsf.js
|-- node_modules (dir)
|-- .bin (dir)
|-- commander (dir)
|-- lsf (dir)
|-- npm-debug.log
|-- package.json
|-- readme.md