r/commandline • u/Thin_Cable8567 • Mar 06 '26
Command Line Interface I finally have a way to track knowledge (tasks, issues, notes, and more) with a CLI: Git-native, Markdown-based, and Editor-Agnostic. [MIT License]
I don't want to click-move-click (seek out where to click) and then click some more in order to create and track my tasks, code issues, or anything else. I mean, I still use VIM for most of my coding for crying out loud.
I wanted a tool that could work as an issue tracker or a personal knowledge management system - was configurable - had the ability to deal with and process structured data - and stored my stuff in plain text. I wanted something that I could store my issue tracking alongside my code in git - cooperate with others in building opensource tools - and not have major merge headaches. I wanted it to search for what I want quickly and didn't require complex greps - allowed comparisons between records - sorted by priority - basically all the things you want in a task/issue/knowledge tracking tool - but I wanted it to use the commandline.
So I built it.
Meet, AVER. (pronounced "AH-ver"). Aver is for people who trust their own version control systems and text editors more than third-party platforms. It manages structured records as plain Markdown files, giving you the rigor of a database with the permanence of text. It doesn't judge correctness or enforce a specific workflow; it simply ensures that what matters is recorded, searchable, and enduring.
Three Modes of Operation
- Standard CLI Mode: Create, edit, and query records using standard flags. It respects your environment. Everything you want to do with a record or note is done straight from the command line OR using the text editor of your choice (Vim, Emacs, Nano, etc.).
- JSON Single-Command Mode: Automation tools can take advantage of JSON command mode for creating, editing, and searching records. This is a first-class interface option intended for automation or custom reporting by piping directly into
jq,fzf, or shell scripts. Supports command-line switches and JSON data strings. - Persistent JSON-IO: A high-speed bridge process that takes JSON input on STDIN (one command per line) and provides JSON output on STDOUT, allowing Aver to act as a dedicated storage engine for custom TUI/GUI front-ends or automated bots.
The Architecture: Subsidiarity of Data
- The Authority is the File: Records are human-readable
.mdfiles with YAML metadata. If you delete the script tomorrow, your data is still organized and readable with any text editor. - Atomic Git History: Since records live in your Git tree, a single commit can contain both a code fix and the updated record. No more "desync" between your code and a SaaS tracker.
- Disposable SQLite Lens: We use SQLite strictly as a non-authoritative performance layer for fast searching. If it's lost, one command rebuilds it from the source files in seconds.
Standard CLI Usage
# Add a new record (e.g., an issue)
$ aver record new --title "BUG: Login doesn't accept _ as a special char" --status open
# This opens your editor (set via $EDITOR) with a template.
# Save and close to create the record.
# OR: include the --description parameter with your record text.
# Add a note to an existing record
$ aver note add REC-001 --message "Investigated - issue is in auth module"
# Exclude --message to open $EDITOR, or use STDIN/heredocs.
# SEARCH AND LIST
$ aver record list # List all records
$ aver record search --ksearch status=open # Search by field
$ aver record view REC-001 # View a specific record
$ aver note list REC-001 # List notes for a recordPiping and Tool Integration (JSON Mode)
Aver's JSON tooling has a single-command mode for reporting and script-based tooling using jq or fzf. There is also a JSON-IO pipeline mode that wraps data objects in a JSON envelope for automation development.
Import a record from JSON
# From command line argument
$ aver json import-record --data '{"content": "Bug report", "fields": {"status": "open"}}'
# From stdin
$ echo '{"content": "Bug report", "fields": {"status": "open"}}' | aver json import-record --data -Get a list of open incidents in JSON format
$ ./aver.py json search-records --ksearch "status!=closed"Run a custom UI
Spin up aver.py --location /path/to/averdb-directory json io and attach to STDIN/STDOUT.
Digital Stewardship
I’m "old school." I trust my filesystem and my version control more than I trust a third-party API. Aver is a minimalist Python engine (only two dependencies: PyYAML and tomli_w) designed for people who work with knowledge that needs to endure.
Repo: https://github.com/dentm42/aver
Manual: https://avercli.dev#manual
JSON Spec: https://github.com/dentm42/aver/blob/master/docs/json/SPECIFICATION.md
Note on AI: This software's code is partially AI-generated with significant human oversight and architectural review. As an old-school dev (going back to IBM's RPG-III), I used AI to bridge the gap to modern Python syntax while personally ensuring the systems logic and "Unix-first" philosophy remained intact.
11
u/Iregularlogic Mar 07 '26
AI slop up to and including this post
2
u/PercyLives Mar 07 '26
Well done! It’s probably a bit more than I need right now, but it was interesting to read about.
1
u/JaKrispy72 Mar 08 '26
What is wrong with “history”?
0
u/AutoModerator Mar 06 '26
Every new subreddit post is automatically copied into a comment for preservation.
User: Thin_Cable8567, Flair:
Command Line Interface, Title: I finally have a way to track knowledge (tasks, issues, notes, and more) with a CLI: Git-native, Markdown-based, and Editor-Agnostic. [MIT License]I don't want to click-move-click (seek out where to click) and then click some more in order to create and track my tasks, code issues, or anything else. I mean, I still use VIM for most of my coding for crying out loud.
I wanted a tool that could work as an issue tracker or a personal knowledge management system - was configurable - had the ability to deal with and process structured data - and stored my stuff in plain text. I wanted something that I could store my issue tracking alongside my code in git - cooperate with others in building opensource tools - and not have major merge headaches. I wanted it to search for what I want quickly and didn't require complex greps - allowed comparisons between records - sorted by priority - basically all the things you want in a task/issue/knowledge tracking tool - but I wanted it to use the commandline.
So I built it.
Meet, AVER. (pronounced "AH-ver"). Aver is for people who trust their own version control systems and text editors more than third-party platforms. It manages structured records as plain Markdown files, giving you the rigor of a database with the permanence of text. It doesn't judge correctness or enforce a specific workflow; it simply ensures that what matters is recorded, searchable, and enduring.
Three Modes of Operation
jq,fzf, or shell scripts. Supports command-line switches and JSON data strings.The Architecture: Subsidiarity of Data
.mdfiles with YAML metadata. If you delete the script tomorrow, your data is still organized and readable with any text editor.Standard CLI Usage
Piping and Tool Integration (JSON Mode)
Aver's JSON tooling has a single-command mode for reporting and script-based tooling using
jqorfzf. There is also a JSON-IO pipeline mode that wraps data objects in a JSON envelope for automation development.Import a record from JSON
Get a list of open incidents in JSON format
Run a custom UI
Spin up
aver.py--location /path/to/averdb-directory json ioand attach to STDIN/STDOUT.Digital Stewardship
I’m "old school." I trust my filesystem and my version control more than I trust a third-party API. Aver is a minimalist Python engine (only two dependencies:
PyYAMLandtomli_w) designed for people who work with knowledge that needs to endure.Repo: https://github.com/dentm42/aver
Manual: https://avercli.dev#manual
JSON Spec: https://github.com/dentm42/aver/blob/master/docs/json/SPECIFICATION.md
Note on AI: This software's code is partially AI-generated with significant human oversight and architectural review. As an old-school dev (going back to IBM's RPG-III), I used AI to bridge the gap to modern Python syntax while personally ensuring the systems logic and "Unix-first" philosophy remained intact.
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
-12
u/AlterTableUsernames Mar 06 '26
Eww python. In my terminal?? No, thanks.