A CLI for managing notes. This tool is designed for a tag-centric approach to note taking and referencing. Seton provides three basic modes of functionality in note taking, querying and exporting. Seton stores your notes in a local SQLite database and provides a simple interfaces to quickly take a note, query your note collection using tags, and to export the results of those queries.
Open an interactive form to write and tag a note, saved to ~/.seton/notes.db:
seton jotBrowse tags interactively and display matching notes:
seton searchList notes from the database. With no arguments, returns all notes. With tags, returns only notes matching every tag (AND logic):
seton query # all notes
seton query todo # notes tagged #todo
seton query auth bug # notes tagged both #auth and #bugQuery notes by tags and write results to a markdown file in ~/.seton/exports/:
seton export todo
seton export auth bug
seton export auth --dir ./notes # write to a custom directoryReview and save notes from a file containing ~! !~ blocks:
seton import <file>Seton reads ~/.seton/config.toml if present. Defaults:
[delimiters]
open = "~!"
close = "!~"
[paths]
root = "~/seton"Download the latest release for your platform from the releases page.
go install github.com/hdirksor/seton@latestgit clone https://github.com/hdirksor/seton
cd seton
go build -o seton .MIT