0 purchases
todo extractor
TODO Extractor #
Script for fetch your TODO marks
This package will allow you to pull your TODOs into a independent file in the root directory.
Installing #
You need to add this package in pubspec.yaml and run flutter pub get in terminal:
dependencies:
todo_extractor: ^1.0.2
copied to clipboard
How to use it? #
To fetch TODOs (if they exist), write the following command in the terminal:
flutter pub run todo_extractor -s lib -o todo.txt
copied to clipboard
-s - sources, it can be a directory or files
-o - the output file, it can be a file with the extension
.txt or .md (the latter has several advantages).
After that, you can open the generated file and look at your TODOs
todo.txt
todo.md
⚠️ To fetch TODO, you need the line to start with "// TODO:"
What are the advantages of MD file? #
A table is generated in the md file, where one row is one file, which is convenient for perception
In the cell, the file name is a link that, when clicked, sends to this file
There is also the date of generation of this file, which will allow you to understand how relevant the information is.
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.