1.0.8 • Published 2 years ago

@yhrx/ftree v1.0.8

Weekly downloads
-
License
MIT
Repository
-
Last release
2 years ago

安装

全局安装

npm install @yhrx/ftree -g

本地安装

npm install @yhrx/ftree --save-dev

使用

usage ftree [options]
usage: ftree <command> [options]

选项:
  -o, --out      生成目录的写入位置                                                              [字符串] [默认值: "./tree.txt"]
  -l, --level    生成目录层级,从1开始                                                            [数字] [默认值: -1]
  -m, --mode     生成模式                                                        [字符串] [可选值: "log", "write"] [默认值: "log"]
  -i, --ignore   需要忽略的文件夹或文件                                            [字符串] [默认值: "node_modules,.vscode,.idea"]
  -h, --help     显示帮助信息                                                                              [布尔]
  -v, --version  显示版本号                                                                                [布尔]

示例:
  ftree       遍历当前目录,为所有层级生成目录树
  ftree -l=2  为当前目录生成二级目录树
1.0.8

2 years ago

1.0.7

2 years ago

1.0.6

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago