A CLI Todo List, built with ❤️ in Ruby
BM should work with most unix/mac systems (sorry not sorry Windows)
- Clone the repo
git clone https://github.com/dengsauve/td.git
- Alias for convenience
chmod +x td.rb
alias td='ruby /absolute/path/to/td.rb'
td add ${task} optionally followed by space separated tags
Adds an item to your list
td ls
List all your outstanding items in a table
td ${index}
Completes whatever item is at the specified index
td ${search term}
Completes the first item that contains the search term
td search ${search term}
Lists all items that contain search term
td [rm|remove|delete] ${index}
Deletes item with the specified index
I wanted a plain and simple to use (e.g. NB cli note tool), and didn't like the other options available.
-
bm add ${url} optional space seperated tags
add a website to your library -
bm ls
list all bookmarks w/index -
bm ${index}
open the url at the specified index -
bm ${search_term}
open first url that contains string (result may not be what you expect! Use w/care) -
bm search ${search_term}
spits out a list of matching urls with their ids -
bm edit ${url_id}
using search, you can get the id of the bookmark you want to edit -
bm [rm|remove|delete] ${url_id}
using search, you can get the id of the bookmark you want to remove -
bm
launch an interactive terminal (maybe, depends on if it's useful)
Local DB or .json file seems like the best bet
Going the JSON route would make it easy to update a .git repo. Not sure what to do about a DB
Feel free to submit a PR with any changes you'd like to see.
ASCII Banner thanks to ASCII Art Generator (.org)