This article is part of the [[Getting Started]] Guide.
It gives some more details on the command-line options of all BaseX [[Start Scripts|start scripts]].
==BaseX GUI==
;Launch the GUI:
<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.
==BaseX Standalone==
;Launch the console mode:
<pre>
|}
Since {{Version|7.1}}, multiple Multiple query files and {{Mono|-c}}/{{Mono|-i}}/{{Mono|-q}} flags can be specified. All other options will be set before any other operation takes place. The specified inputs, query files, queries and commands will be subsequently evaluated after that in the given order. The standard input can be parsed by specifying a single dash ({{mono|-}}) as argument. The {{Mono|-C}} and {{Mono|-L}} options have been in added in {{Version|7.1.1}}.
==BaseX Server==
;Launch the server
<pre>
Multiple {{Mono|-c}} and {{Mono|-i}} flags can be specified. All other options will be set before any other operation takes place. The specified inputs, query files, queries and commands will be subsequently evaluated after that in the given order. The standard input can be parsed by specifying a single dash ({{mono|-}}) as argument.
==BaseX Client==
;Launch the console mode communicating with the server
Multiple query files and {{Mono|-c}}/{{Mono|-i}}/{{Mono|-q}} flags can be specified. All other options will be set before any other operation takes place. The specified inputs, query files, queries and commands will be subsequently evaluated after that in the given order. The standard input can be parsed by specifying a single dash ({{mono|-}}) as argument.
The {{Mono|-C}} and {{Mono|-L}} options have been in added in {{Version|7.1.1}}. ==BaseX HTTP Server==
;Launch the HTTP server:
* {{Mono|org.basex.password}}: user password for opening new sessions
* {{Mono|org.basex.mode}}: by default, the HTTP server also starts an instance of the database server. If the mode is set to {{Mono|local}}, an embedded database context is used for executing commands. If the mode is set to {{Mono|client}}, all commands are sent to an existing database server instance.
=Recent Changes=
===Version 7.1.1===
* Added: Options {{Mono|-C}} and {{Mono|-L}} in standalone and client mode
===Version 7.1===
* Multiple query files and {{Mono|-c}}/{{Mono|-i}}/{{Mono|-q}} flags can be specified.
[[Category:Beginner]]