1.0.9 • Published 6 years ago

task-extractor v1.0.9

Weekly downloads
2
License
MIT
Repository
github
Last release
6 years ago

Task Extractor

CLI tool to extract TODO comments and output them to a JSON and text file.

Usage:

tasks <directory> <outfile>

Parameters:

ParameterDescription
directoryA directory to recursively scan for TODO comments.
outfileA file name to write the results to. The program will create both a .txt and a .json file with this file name (with the output in those respective formats)

Adding search terms: You can add your own search terms by editing the package.json file in your NPM global install directory. Navigate to where your global modules are stored (i.e. ~/.npm/lib/node_modules) and edit the searchTerms property of package.json to add your own custom terms to search the files for. By default, the task searcher will only look for lines with // TODO: on them. Regular expressions are not currently supported, but they are planned (ETA: eventually).

Contributing: Feel free to contribute. Fork the repo and make a pull request if you want to contribute to this module. There are a couple features baked in which I haven't gotten around to implementing yet (like the ora spinner and async file reading / optimization).

1.0.9

6 years ago

1.0.8

6 years ago

1.0.7

6 years ago

1.0.6

6 years ago

1.0.5

6 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago