1.1.6 • Published 3 years ago

printdirlog v1.1.6

Weekly downloads
10
License
ISC
Repository
github
Last release
3 years ago

点击查看 中文文档

Introduction


Used to print corresponding project directory path quickly, read file '.gitignore' automatically to ignore corresponding files and path.

Use


1.Install npm i printdirlog -g

2.Use command printdir -d <path> [-t] [len]

Tips:There are differences in the path separator between Window system and Linux system.
ParameterDescription
-drequired, enter the directory path at the back(must be an absolute path)
-toptional, output txt file at current directory (Avoiding the differrences in system code, use code editor to open txt file, do not use system notepad)
lenoptional, the distance from identifier '#' to the beginning of the line

3.Put the output directory structure on code block in markdown file (otherwise, the format will be confused)

4.The txt file 'dirlog.txt' with output directory structure is place at current directory

Example


At directory path 'C:\Users\desktop' execute the command as follows

printdir -d E:\myproject\printDir -t 30

Output:

|--commands                  # enter notes
  |--directory.js            #
  |--version.js              #
|--utils                     #
  |--index.js                #
|--.gitignore                #
|--index.js                  #
|--package-lock.json         #
|--package.json              #
|--README.md                 #

The txt file recording the target directory structure:

C:\Users\desktop\dirlog.txt (please use code editor to open)
1.1.6

3 years ago

1.1.5

3 years ago

1.1.4

3 years ago

1.1.3

3 years ago

1.1.1

3 years ago

1.1.2

3 years ago

1.1.0

3 years ago

1.0.9

3 years ago

1.0.8

3 years ago

1.0.7

3 years ago

1.0.6

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago