Commit Graph

20 Commits

Author SHA1 Message Date
Jonathan Bernard
f7d35ec39c Added confirmation interactions and messages to actions that create permanent change. 2011-06-14 18:04:06 -05:00
Jonathan Bernard
5ae49f2d3e Fixed typo in logging call. 2011-06-14 17:46:01 -05:00
Jonathan Bernard
0749145ce0 Added error message for unimplemented commands. 2011-06-14 17:34:29 -05:00
Jonathan Bernard
9819315fa9 Started adding real documentation.
The documentation style is meant for a doc system I have not written yet.
Existing systems--javadoc and groovydoc--are not sufficient, primarily due
to their reliance on HTML. I envision something that crosses javadoc-style
annotations with python-like use of reStructuredText and Docco-like inline
presentation of the code with its comments.
2010-12-10 15:15:55 -06:00
Jonathan Bernard
68cc604d6b Fixed a small bug in how list references were being parsed. 2010-12-10 11:32:52 -06:00
Jonathan Bernard
3b1d919c5a Implemented 'delete' command.
Basic implementation for displaying a list of users.
2010-12-06 07:28:01 -06:00
Jonathan Bernard
0c3a11d567 Renamed README to take advantage of github's nice formatting. 2010-11-15 17:37:42 -06:00
Jonathan Bernard
fc21cfdffe Implemented 'show lists' command. Still need to work on formatting. 2010-11-11 13:15:16 -06:00
Jonathan Bernard
c488c3faa4 Made the Win32 bat launcher launch silently. 2010-11-11 13:13:46 -06:00
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