1.1.1 • Published 3 years ago

dirtxt v1.1.1

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

Convert your project code into one txt file

How to use

  1. Make sure you have node installed in the system https://nodejs.org/en/
  2. Go to the root folder of your project
  3. Run npx dirtxt

Commands available

CommandsDescriptionUsage
--debugAdds debug logs while runningn/a
--di or --dontIgnoreDoesn't ignore any directory or filen/a
--i or --ignoreIgnores directories or files inputted--i={dir,one,file}
--e or --extensionsIgnoreIgnores extensions inputted--e={png,jpg,mp4}
--o or --outputOutput file, default is output.txt--o somewhere.txt

Default settings

  • 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