dependencytreecli
v1.0.6
Published
A Tool for Analyzing Package Dependencies
Downloads
2
Readme
下载
npm install dependencytreecli
查看帮助
dependency-tree-cli
// or
dependency-tree-cli --help
dependency-tree-cli --h // 简写
查看版本
dependency-tree-cli --version
dependency-tree-cli -V // 简写
分析依赖关系并渲染依赖关系图
dependency-tree-cli analyze
dependency-tree-cli ana // 简写
限制向下递归分析的层次深度
// n:层次深度
dependency-tree-cli --depth=n
dependency-tree-cli -d=n // 简写
// 不带参数时由命令行要求用户输入层次深度
dependency-tree-cli --depth
dependency-tree-cli -d
// 将依赖关系以 JSON 形式存储到用户指定的文件,不再打开网页
// file-path:文件路径
dependency-tree-cli --json=[file-path]
dependency-tree-cli -j=[file-path] // 简写
// 不带参数时由命令行要求用户输入文件路径
dependency-tree-cli --json
dependency-tree-cli -j