Changes

Jump to navigation Jump to search
135 bytes added ,  11:48, 7 February 2019
no edit summary
This article is part of the [[Getting Started]] Guide.
It gives more details on the command-line options of all Each BaseX [[Startup]] modesmode has one or more command-line options which are described in this article.
Options Command-line options can be specified multiple times. Please note that all options will be evaluated in the given order. The standard input can be parsed by specifying a single dash ({{Code|-}}) as argument.
=Standalone=
;Launch the standalone (console ) mode:
<pre>
$ basex
> _</pre>
Available You can list the command-line flags can be listed with options available for the standalone mode using {{Code|-h}}:
<pre>
$ basex -h
</pre>
The meaning of all flags options is listed in the following table. If an equivalent database option exists (which can be specified via the <code>[[Commands#SET|SET]]</code> command), it is listed as well. For the examples to work escaping some characters , it might be necessaryto escape some characters, depending on your Operating System.
{| class="wikitable"
=GUI=
;Launch the GUI:
 
The <code>basexgui</code> command has only one option. You can pass one or more XML and XQuery files as parameters. If an XML file is specified, a database instance is created from this file, or an existing database is opened. XQuery files are opened in the XQuery editor.
 
<pre>
$ basexgui [file]
</pre>
 
One or more XML and XQuery files can be passed on as parameters. If an XML file is specified, a database instance is created from this file, or an existing database is opened. XQuery files are opened in the XQuery editor.
=Server=
administrator, editor
162

edits

Navigation menu