dirtxt
1.1.1 • Public • Published Convert your project code into one txt file
- Make sure you have node installed in the system https://nodejs.org/en/
- Go to the root folder of your project
- Run
npx dirtxt
Commands |
Description |
Usage |
--debug |
Adds debug logs while running |
n/a |
--di or --dontIgnore |
Doesn't ignore any directory or file |
n/a |
--i or --ignore |
Ignores directories or files inputted |
--i={dir,one,file} |
--e or --extensionsIgnore |
Ignores extensions inputted |
--e={png,jpg,mp4} |
--o or --output |
Output file, default is output.txt
|
--o somewhere.txt |
- Directories and files ignored by default: node_modules, .git, yarn.lock, package-lock.json
- Extensions ignored by default: tif, tiff, bmp, jpg, jpeg, gif, png, eps, raw, cr2, nef, orf, sr2, mp4
- Reads .gitignore file if it exits and ignores all the directories and files listed there
- Outputs by default to output.txt
Package Sidebar
Install
Weekly Downloads