summaryrefslogtreecommitdiff
path: root/doc/en/autogen/user/javascript_commands.asciidoc
diff options
context:
space:
mode:
Diffstat (limited to 'doc/en/autogen/user/javascript_commands.asciidoc')
-rw-r--r--doc/en/autogen/user/javascript_commands.asciidoc22
1 files changed, 22 insertions, 0 deletions
diff --git a/doc/en/autogen/user/javascript_commands.asciidoc b/doc/en/autogen/user/javascript_commands.asciidoc
new file mode 100644
index 000000000..033797446
--- /dev/null
+++ b/doc/en/autogen/user/javascript_commands.asciidoc
@@ -0,0 +1,22 @@
+[[command_javascript_javascript]]
+[command]*`javascript`* list/load/unload scripts::
+
+----
+/javascript list|listfull [<name>]
+ load [-q] <filename>
+ autoload
+ reload|unload [-q] [<name>]
+
+ list: list loaded scripts
+listfull: list loaded scripts (verbose)
+ load: load a script
+autoload: load all scripts in "autoload" directory
+ reload: reload a script (if no name given, unload all scripts, then load all scripts in "autoload" directory)
+ unload: unload a script (if no name given, unload all scripts)
+filename: script (file) to load
+ name: a script name (name used in call to "register" function)
+ -q: quiet mode: do not display messages
+
+Without argument, this command lists all loaded scripts.
+----
+