That’s not possible, sorry. We wanted to avoid writing yet another script language: Once you start extending the syntax, you might need to add simple conditions, loops, error handling, etc. In addition, you would need to start encoding input that might be interpreted as arguments.
Ben Engbers Ben.Engbers@be-logical.nl schrieb am Mo., 6. Jan. 2020, 14:18:
Op 06-01-2020 om 11:39 schreef Christian Grün:
What kind of arguments would you like to set?
The easiest option may be to prefix your script string with some additional SET commands.
My suggestion/question on aassing arguments to a command script was not restricted to passing 'set' options with the client API, but was more general. Suppose I have a script with commands that add the content from a csv-file to a basex-db. It would be nice if I could pass the name/path of the file as argument to the script. That would make it easier to automate the update-process.
Ben