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
This commit is contained in:
19
resources/main/logback.groovy
Normal file
19
resources/main/logback.groovy
Normal file
@ -0,0 +1,19 @@
|
||||
import ch.qos.logback.classic.encoder.PatternLayoutEncoder
|
||||
import ch.qos.logback.core.ConsoleAppender
|
||||
import ch.qos.logback.core.FileAppender
|
||||
import static ch.qos.logback.classic.Level.*
|
||||
|
||||
appender("CONSOLE", ConsoleAppender) {
|
||||
encoder(PatternLayoutEncoder) {
|
||||
pattern = "%level %logger - %msg%n"
|
||||
}
|
||||
}
|
||||
|
||||
appender("FILE", FileAppender) {
|
||||
file="gritter.log"
|
||||
encoder(PatternLayoutEncoder) {
|
||||
pattern = "%level %logger - %msg%n"
|
||||
}
|
||||
}
|
||||
|
||||
logger("com.jdbernard.twitter", TRACE, ["FILE"])
|
Reference in New Issue
Block a user