1.0.0 β€’ Published 1 year ago

@osjwnpm/quibusdam-ab-consequatur v1.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

@osjwnpm/quibusdam-ab-consequatur

npm

@osjwnpm/quibusdam-ab-consequatur is a node command line tool to generate directory structure tree.

Installation

npm i @osjwnpm/quibusdam-ab-consequatur -g

Usage

$ @osjwnpm/quibusdam-ab-consequatur -h
Usage: @osjwnpm/quibusdam-ab-consequatur [options]

Generate a directory structure tree

Options:
  -V, --version          output the version number
  -i, --ignore <ig>      ignore specific directory name, separated by comma or '|'  
  -l, --layer <layer>    specify the layer of output
  -d, --directory <dir>  specify the directory to generate structure tree
  -f, --only-folder      output folder only
  --icon                 output emoji icon, prefixing filename or directory
  -o, --output <output>  export content into a file, appending mode by default      
  -h, --help             display help for command

Examples

Ignore .git and node_modules directory.

$ @osjwnpm/quibusdam-ab-consequatur -i '.git|node_modules' # or @osjwnpm/quibusdam-ab-consequatur -i '.git,node_modules'
@osjwnpm/quibusdam-ab-consequatur
β”œβ”€β”€πŸ“„.editorconfig
β”œβ”€β”€πŸ“„.eslintrc.js
β”œβ”€β”€πŸ“„.gitignore
β”œβ”€β”€πŸ“„.prettierrc.js
β”œβ”€β”€πŸ“„.release-it.json
β”œβ”€β”€πŸ“„CHANGELOG.md
β”œβ”€β”€πŸ“„LICENSE
β”œβ”€β”€πŸ“„package-lock.json
β”œβ”€β”€πŸ“„package.json
β”œβ”€β”€πŸ“„README.md
β””β”€β”€πŸ“src
    β”œβ”€β”€πŸ“„config.js
    β”œβ”€β”€πŸ“„generate.js
    β”œβ”€β”€πŸ“„index.js
    β”œβ”€β”€πŸ“„toTree.js
    β””β”€β”€πŸ“„utils.js

Show emoji icon, prefixing filename or directory.

$ @osjwnpm/quibusdam-ab-consequatur -i '.git,node_modules' --icon
@osjwnpm/quibusdam-ab-consequatur
β”œβ”€β”€πŸ“„.editorconfig
β”œβ”€β”€πŸ“„.eslintrc.js
β”œβ”€β”€πŸ“„.gitignore
β”œβ”€β”€πŸ“„.prettierrc.js
β”œβ”€β”€πŸ“„.release-it.json
β”œβ”€β”€πŸ“„CHANGELOG.md
β”œβ”€β”€πŸ“„LICENSE
β”œβ”€β”€πŸ“„package-lock.json
β”œβ”€β”€πŸ“„package.json
β”œβ”€β”€πŸ“„README.md
β””β”€β”€πŸ“src
    β”œβ”€β”€πŸ“„config.js
    β”œβ”€β”€πŸ“„generate.js
    β”œβ”€β”€πŸ“„index.js
    β”œβ”€β”€πŸ“„toTree.js
    β””β”€β”€πŸ“„utils.js

Export output into result.md, and append mode by default.

$ @osjwnpm/quibusdam-ab-consequatur -i '.git,node_modules' -o result.md
@osjwnpm/quibusdam-ab-consequatur
β”œβ”€β”€πŸ“„.editorconfig
β”œβ”€β”€πŸ“„.eslintrc.js
β”œβ”€β”€πŸ“„.gitignore
β”œβ”€β”€πŸ“„.prettierrc.js
β”œβ”€β”€πŸ“„.release-it.json
β”œβ”€β”€πŸ“„CHANGELOG.md
β”œβ”€β”€πŸ“„LICENSE
β”œβ”€β”€πŸ“„package-lock.json
β”œβ”€β”€πŸ“„package.json
β”œβ”€β”€πŸ“„README.md
β””β”€β”€πŸ“src
    β”œβ”€β”€πŸ“„config.js
    β”œβ”€β”€πŸ“„generate.js
    β”œβ”€β”€πŸ“„index.js
    β”œβ”€β”€πŸ“„toTree.js
    β””β”€β”€πŸ“„utils.js

License

MIT

1.0.0

1 year ago