Fluttrly-gem

What is this?

Fluttrly-gem is a command line gem I decided to make to help contribute to fluttrly.

Why?

I wanted to know how to write gems with the new way bundler makes them, and I saw Holman make boom. So I wanted to make a command line utility myself. Sweet!

Disclaimer

If you somehow get hurt using this. You're retarded. That being said, I shipped this as soon as possible, so not all of the features are done yet. Also, by shipping as soon as possible I realize there's much to be refactored.

Usage

List an item

#fluttrly <command> <list>
$ fluttrly list bouverdafs
Task => "Nothing to see here, move along" at => 02-08-2011 18:57 PM 

Post an item

#fluttrly <command> <list> <message>
$ fluttrly post bouverdafs "gem'd"
Task => "gem'd" at => 02-10-2011 16:18 PM 
Task => "Nothing to see here, move along" at => 02-08-2011 18:57 PM 

Update a task

#fluttrly <command> <list>
$ fluttrly update bouverdafs
1: Task => "gem'd" at => 02-10-2011 16:18 PM (Completed? false)
2: Task => "Nothing to see here, move along" at => 02-08-2011 18:57 PM (Completed? false)
Which item would you like to edit?
1
1: Task => "gem'd" at => 02-10-2011 16:18 PM (Completed? true)
2: Task => "Nothing to see here, move along" at => 02-08-2011 18:57 PM (Completed? false)

Delete a task

#fluttrly <command> <list>
$ fluttrly delete bouverdafs
1: Task => "Make a throwaway task for deleting" at => 05-10-2011 03:59 AM (Completed? false)
2: Task => "write tests for test::unit" at => 05-10-2011 03:56 AM (Completed? false)
3: Task => "Add to the README" at => 05-10-2011 03:56 AM (Completed? true)
4: Task => "Add delete functionality" at => 05-10-2011 03:56 AM (Completed? true)
Which item would you like to delete?
1
1: Task => "write tests for test::unit" at => 05-10-2011 03:56 AM (Completed? false)
2: Task => "Add to the README" at => 05-10-2011 03:56 AM (Completed? true)
3: Task => "Add delete functionality" at => 05-10-2011 03:56 AM (Completed? true)

Install

Fork or download this and play with it yourself! If you want to just test
it locally:
$ bundle
$ gem build fluttrly-gem.gemspec
$ gem install fluttrly-0.0.4.gem

Or just grab the latest from rubygems.org and use it.

$ gem install fluttrly

TO DO

  • Removing items completely (1 or many)
  • Adding to locked lists
  • Refactor for caching so we don't make so many http requests