{ "name": "nb", "version": "7.25.5", "summary": "nb: notes, bookmarks and to-dos in plain text, kept in git repositories, from the command line (bash)", "category": "tool", "license": "AGPL-3.0-or-later", "homepage": "https://xwmx.github.io/nb/", "source": { "url": "https://github.com/xwmx/nb/archive/refs/tags/7.25.5.tar.gz", "sha256": "c1127e7e168558afed7a2eccd99b0bdb9779d81134e739d15ef1cc65e8bb3a67" }, "watch": {"kind": "github-release", "repo": "xwmx/nb", "tag_regex": "^([0-9]+\\.[0-9]+\\.[0-9]+)$"}, "deps": [ "bash", "git" ], "env_packages": [], "static": true, "nss": false, "check": "t=$(mktemp -d) && printf '[user]\\n\\tname = bvs\\n\\temail = bvs@example.invalid\\n' > \"$t/.gitconfig\" && export HOME=$t NB_DIR=$t/nbd NBRC_PATH=$t/.nbrc EDITOR=true && bin/nb version | has -x 7.25.5 && bin/nb init < /dev/null > \"$t/init\" 2>&1 && bin/nb add --title 'BVS note' --content 'bvs content one' --no-color < /dev/null | has 'Added: \\[1\\] bvs_note.md' && bin/nb add --content 'second bvs line' --no-color < /dev/null | has 'Added: \\[2\\]' && bin/nb list --no-color < /dev/null | has 'BVS note' && bin/nb search 'content one' --no-color < /dev/null | has 'bvs content one' && bin/nb show 1 --print --no-color < /dev/null | has -x 'bvs content one' && bin/git -C \"$NB_DIR/home\" log --oneline | has 'Add: bvs_note.md' && head -n 1 bin/nb | has -x \"#!$PWD/bin/bash\" && echo 'nb 7.25.5: a notebook made, two notes added, listed, searched and shown, each change a commit of the prefix git'" }