mddir

command module
v0.0.2-0...-64e9e40 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 5, 2021 License: MIT Imports: 6 Imported by: 0

README

mddir

mddir 是一个golang实现的生成markdown项目目录文件结构的工具

安装

$ GO111MODULE=on go get github.com/zkep/mddir@master

使用

   仅展示在命令行markdown项目目录文件结构
  
     mddir  show 项目路径  需要忽略的文件夹或文件
   
   例如:
   
     mddir  show ./  .git .idea .gitignore


   保存markdown项目目录文件结构在目标文件夹
  
     mddir  out 项目路径  需要忽略的文件夹或文件
   
   例如:
   
     mddir  out ./  .git .idea .gitignore
    
     会将目录结构的结果保存到./directoryList.md

效果

mddir show ./

|-- .
    |-- .git
    |   |-- HEAD
    |   |-- config
    |   |-- description
    |-- .idea
    |   |-- vcs.xml
    |   |-- workspace.xml
    |-- LICENSE
    |-- README.md
    |-- go.mod
    |-- go.sum
    |-- main.go
    |-- mddir

忽略指定的文件夹或文件

mddir show ./ .git .idea .gitignore

|-- .
    |-- LICENSE
    |-- README.md
    |-- go.mod
    |-- go.sum
    |-- main.go
    |-- mddir

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL