This is an automated email from the ASF dual-hosted git repository.
spmallette pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/tinkerpop.git
The following commit(s) were added to refs/heads/master by this push:
new c53d8d7 Added a note about :record for Gremlin Console CTR
new 2841fa6 Merge branch 'tp33'
c53d8d7 is described below
commit c53d8d7258804f277dbbad607eb8b7677faa9808
Author: Stephen Mallette <[email protected]>
AuthorDate: Mon Dec 3 07:56:39 2018 -0500
Added a note about :record for Gremlin Console CTR
---
docs/src/reference/gremlin-applications.asciidoc | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/docs/src/reference/gremlin-applications.asciidoc
b/docs/src/reference/gremlin-applications.asciidoc
index 7c503e2..1ddb123 100644
--- a/docs/src/reference/gremlin-applications.asciidoc
+++ b/docs/src/reference/gremlin-applications.asciidoc
@@ -143,7 +143,7 @@ TIP: When using Gremlin-Groovy in a Groovy class file, add
`static { GremlinLoad
=== Console Commands
-In addition to the standard commands of the
link:http://www.groovy-lang.org/Groovy+Shell[Groovy Shell], Gremlin adds
+In addition to the standard commands of the
link:http://groovy-lang.org/groovysh.html[Groovy Shell], Gremlin adds
some other useful operations. The following table outlines the most commonly
used commands:
[width="100%",cols="3,^2,10",options="header"]
@@ -176,6 +176,11 @@ gremlin> :bytecode translate g
{"@type":"g:Bytecode","@value":{"step":[["V"],["o
<1> Generates a GraphSON 3.0 representation of the traversal as bytecode.
<2> Converts bytecode in GraphSON 3.0 format to a traversal string.
+NOTE: The Console does expose the `:record` command which is inherited from
the Groovy Shell. This command works well
+with local commands, but may record session outputs differently for `:remote`
commands. If there is a need to use
+`:record` it may be best to manually create a `Cluster` object and issue
commands that way so that they evaluate
+locally in the shell.
+
[[console-preferences]]
=== Console Preferences