Skip to content

wangrongding/folder-print

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

folder-print

介绍(Description)

快速生成文件夹目录结构,支持定义目录层级,支持生成到 markdown 文件。
Quickly generate folder directory structure, support for defining directory hierarchy, support for generating to markdown files.

安装(Install)

npm i folder-print -g

当然你也可以直接使用 npx 运行
Of course you can also run it directly with npx

npx folder-print

使用(usage)

输出当前目录的树形结构:(默认输出最大层级为 10)

Output the tree structure of the current directory: (default output maximum level is 10)

fp
# or
folder-print
# 免安装(No installation)
npx folder-print

指定输出最大层级

(Specify the maximum level of output)

# 指定输出最大层级(Specify the maximum level of output)
fp -d 0
# or
folder-print -d 0
# 免安装(No installation)
npx folder-print -d 0

指定输出最大层级
Specify the maximum level of output

将输出结果保存到文件中

Save the output result to a file

# 将输出结果保存到文件中(Save the output result to a file)
fp -p
# or
folder-print -p
# 免安装(No installation)
npx folder-print -p

About

🌿快速生成文件夹目录结构,支持定义目录层级,支持生成到 markdown 文件。

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published