Commit Graph

11 Commits

Author SHA1 Message Date
Jonathan Bernard
c9f73e60ea Started implementing show lists command.
Also added Windows XP support to build file.
Created a working gritter.bat file in bin.
2010-11-09 16:53:44 -06:00
Jonathan Bernard
f616cd9f39 Added many commands, restructured command heirarchy, added functionality.
doc/commands
    a heirarcical view of the commands and their implementation status.
Added logging using logback + slf4j
Fixed a bug with multiple commands and commands using defaults
Changed names from Groovy Twitter CLI to Gritter
Fixed a tet wrapping bug that was occuring when a line contained no spaces.
Command Changes:
    Added delete/destroy/remove
        no implementation as of yet. See doc/commands for details
    Extended get/show
        Added list support (show lists, members of lists, lists the user
        is subscribed to).
    Extended post/add/create
        Added list support (create list, add member to list, subscribe to list)
        Added the ability to retweet a status
2010-11-09 09:26:05 -06:00
Jonathan Bernard
6497ebc8cb Forgot to update the build.xml to reflect move to JDB BD 1.3 2010-11-07 02:34:58 -06:00
Jonathan Bernard
31e340b41f Created launch scripts. 2010-11-07 00:05:36 -05:00
Jonathan Bernard
8c6b0bcd07 Renamed the project to 'gritter' 2010-11-07 00:00:20 -05:00
Jonathan Bernard
9727732360 Fixed issue #1 by modifying TwitterCLI.color()
Added optional third parameter representing the color to set instead of adding
a reset. If null or not given, a reset is used (current behavior).
2010-11-06 23:51:44 -05:00
Jonathan Bernard
16bd16dcf8 Moved to jdb-build-common 1.3, fixes small errors. 2010-11-06 23:50:49 -05:00
Jonathan Bernard
1565a04b3a Added color, better nailgun support, new argument processing model, base commands.
ConsoleColor
    Added to support for terminal colors by using ANSI escape codes.
    Basically cross-platform (as close as we're going to get with Java's API)

TwitterCLI
    Added colored output and configurable settings controlling it.
    Created a specific Nailgun entry-point. When using Nailgun the Twitter
      object is cached in the JVM so that it doesn't need to be recreated
      each time a call is made. This also means that settings changed from the
      command line persist until the Nailgun server is reset.
    Added functionality to wrap the status nicely to a set width (used for
      printing timelines).
    Arguments are not processed internally as a Queue, so each command/option
      is popped off the queue before it is processed.
    Added and updated base commands:
        help - not implemented, will be used to display online help about a
               command.
        post - Basic implementation added. It checks the length of the status,
               and asks for confirmation from the user before posting.
        reconfigure - If a Nailgun server is being used, it is useful to be
               able to reconfigure the client without restarting the nailgun
               server. This scraps the current instance cached by the ng
               server and creates a fresh instance.
        set  - Allows the user to set a configurable value on the command line.
               So far, only the following configurable values are available:
                 terminalWidth - integer, used for calculating text wrapping.
                 colored       - boolean, enables or disables colored output.
        show - not implemented, will be used to show various information
2010-11-06 16:37:32 -05:00
Jonathan Bernard
ec6aed4e7f Refactored class to have a main and a nailMain. 2010-11-06 10:52:52 -05:00
Jonathan Bernard
2ff8b02025 Basic timeline listing implementation complete. 2010-11-05 18:10:03 -05:00
Jonathan Bernard
8a262c58db Initial commit. 2010-11-05 15:08:44 -05:00