Skip to content

Latest commit

History

68 Commits

Folders and files

NameName
Last commit message
Last commit date

Repository files navigation

nag

A postfix stack-based DSL for tracking todo inside a project.

Warning

I wouldn't recommend using this in production. I use it for my own personal projects.

Install

curl -fsSL https://raw.githubusercontent.com/subrange/nag/main/install.sh | sh

Requires python3 and either curl or wget.

Keywords

KeywordDescription
initInitialize a nag project
newCreate a new issue object
tagAdd a tag
untagRemove a tag from the loaded issue or issues
retagRename a tag across every issue
prioritySet priority (low, medium, high)
statusSet issue status (open, resolved)
noteAppend text to body.md
attachCopy a file into attachments/
dependsAdd a dependency
saveWrite changes to disk
closeSet status to resolved and save
fetchLoad a single issue by ID
allLoad all issues
meLoad issues assigned to the current user
othersLoad issues not assigned to the current user
pickAssign loaded issues to the current user
filterFilter list by predicate string
sort:<field>Sort list by field name
reverseFlip the order of the loaded issues
showPrint issue list
viewPrint full detail and body of loaded issues
graphPrint ASCII dependency DAG
syncScan source files, assign IDs, detect orphans
clearRemove TODO IDs from source and delete issues
helpPrint help message
+Separate multiple pipelines in one command

Examples

Show all open high priority codegen todo:

nag all status:open filter priority:high filter tag:codegen filter show

Create a new issue with tags:

nag "fix register allocator" new "high" priority "codegen" tag save

Add a note and attachment to an existing issue:

nag "x91b" fetch "see the dump for the failure case" note "assets/crash.png" attach save

Show the dependency graph:

nag all graph

Sync TODOs from source files:

nag sync

Clear all orphaned issues:

nag all status:orphaned filter clear

About

A postfix stack-based DSL for tracking issues inside a project.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Contributors

Languages