Skip to content

techdbt is a simple tool to scan your codebase for TODO, FIXME, and REFACTOR comments.

License

Notifications You must be signed in to change notification settings

rybarix/techdbt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

techdbt

dbt is a simple tool to scan your codebase for TODO, FIXME, and REFACTOR comments.

dbt has 0 externaldependencies.

Installation

npm install -g techdbt

Usage

dbt ./src
dbt ./src/index.js
-o {format} Description
json Output findings in JSON format
jsonl Output findings in JSONL format
txt Output findings in plain text format
ctxt Output findings in colorized plain text format (Default)

Example outputs

-o ctxt

# ctxt, colored terminal output (default)
dbt ./src -o ctxt
scanner.js:25 FIXME:s?(.*)", "REFACTOR:s?(.*)", "TODO:s?(.*)"]
scanner.js:114 FIXME: replace with function that respects .gitignore file

-o txt

# txt
dbt ./src -o txt
scanner.js:25 FIXME:s?(.*)", "REFACTOR:s?(.*)", "TODO:s?(.*)"]
scanner.js:114 FIXME: replace with function that respects .gitignore file

-o json

# json
dbt ./src -o json
[{"file":"scanner.js","line":25,"comment":"FIXME:s?(.*)\", \"REFACTOR:s?(.*)\", \"TODO:s?(.*)\"]"},{"file":"scanner.js","line":114,"comment":"FIXME: replace with function that respects .gitignore file"}]

-o jsonl

# jsonl
dbt ./src -o jsonl
{"file":"scanner.js","line":25,"comment":"FIXME:s?(.*)\", \"REFACTOR:s?(.*)\", \"TODO:s?(.*)\"]"}
{"file":"scanner.js","line":114,"comment":"FIXME: replace with function that respects .gitignore file"}

About

techdbt is a simple tool to scan your codebase for TODO, FIXME, and REFACTOR comments.

Resources

License

Stars

Watchers

Forks

Packages

No packages published