Skip to content

dengsauve/td

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

td

A CLI Todo List, built with ❤️ in Ruby

Compatibility

BM should work with most unix/mac systems (sorry not sorry Windows)

Installation

  1. Clone the repo git clone https://github.com/dengsauve/td.git
  2. Alias for convenience
chmod +x td.rb
alias td='ruby /absolute/path/to/td.rb'

Usage

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

About

I wanted a plain and simple to use (e.g. NB cli note tool), and didn't like the other options available.

Goals

CRUD

  • 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)

Persistence

Local DB or .json file seems like the best bet

Syncing

Going the JSON route would make it easy to update a .git repo. Not sure what to do about a DB

Contributions

Feel free to submit a PR with any changes you'd like to see.

Credits

ASCII Banner thanks to ASCII Art Generator (.org)

About

A CLI to-do utility

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages