Skip to content

Comment on Libro: a command-line tool to track your books

Comments

From the examples, it looks like this command-line tool should be able to be generalized to catalogue arbitrary data (retro gaming, tabletop games, movies, ...) with the same graphs/statistics/table, only with slightly larger overhead when querying the store. Along with a new command to create the catalogue and its columns of course.

    > catalogue new --numeric id, year, rating --text title, author
    > catalogue show --column id --value 123
    > catalogue show -c year -v 1984
    > catalogue report -c author (would show generic "Count" rather than "Books read")
Could also be extended so the user can provide a SQLite db name to create/use so you have a db per catalogue.

I've probably forgot some things as I'm just typing this out loud, but that's my general idea?

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.