[ 
https://issues.apache.org/jira/browse/TINKERPOP-1037?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15428950#comment-15428950
 ] 

ASF GitHub Bot commented on TINKERPOP-1037:
-------------------------------------------

Github user robertdale commented on a diff in the pull request:

    https://github.com/apache/tinkerpop/pull/384#discussion_r75560386
  
    --- Diff: 
gremlin-console/src/main/groovy/org/apache/tinkerpop/gremlin/console/GremlinGroovysh.groovy
 ---
    @@ -45,12 +46,13 @@ class GremlinGroovysh extends Groovysh {
         Command findCommand(final String line, final List<String> parsedArgs = 
null) {
             def l = line ?: ""
     
    -        final List<String> args = parseLine(l)
    -        if (args.size() == 0) return null
    +        final List<String> linetokens = parseLine(l)
    +        if (linetokens.size() == 0) return null
     
    -        def cmd = registry.find(args[0])
    +        def cmd = registry.find(linetokens[0])
     
    -        if (cmd != null && args.size() > 1 && parsedArgs != null) {
    +        if (cmd != null && linetokens.size() > 1 && parsedArgs != null) {
    +            List<String> args = CommandArgumentParser.parseLine(line, 
parsedArgs == null ? 1 : -1)
    --- End diff --
    
    groovysh added this line 1 month after this code was written.


> Gremlin shell output coloring
> -----------------------------
>
>                 Key: TINKERPOP-1037
>                 URL: https://issues.apache.org/jira/browse/TINKERPOP-1037
>             Project: TinkerPop
>          Issue Type: Improvement
>          Components: console
>    Affects Versions: 3.1.0-incubating
>            Reporter: Jeremy Hanna
>            Priority: Trivial
>
> In order to increase the readability of the output from the gremlin shell, it 
> would be nice to have some coloring in the output.  For example coloring the 
> edges in the textual output.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to