tdr

command module
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 26, 2025 License: MIT Imports: 12 Imported by: 0

README

Todor

Query your TODOs in your code.

Install using go install github.com/Tehhs/tdr@latest

Features

  • Query your TODOs in your code
  • Provides a small "TODO" syntax/language for use in your code.
  • Output in JSON for connections to other tools and workflows (WIP)

Syntax

Todor supports the typical todo syntax:

//todo: this needs to be done

Optionally, todor allows you to add on top of this.

Syntax: Tags

You can add tags to your todos like so:

//todo(important, security): this needs to be done asap

And then query your tags by doing something like tdr -t security or tdr -t important.

Supporpted Lanauges

  • Golang
  • (WIP) Javascript & JSX
  • (WIP) Typescript & TSX

Building

Prerequisites
  • Golang 1.23 (To be dockersized and removed as a requirement)
  • docker
  • docker compose
  • make installed

Then you should be able to run make build to build, which should output to dist/ folder.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
pkg
tdrl
tdr language
tdr language

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL