Free Hero Mesh

Update of "Command-line arguments"
Login
This is a mirror of the main repository for Free Hero Mesh. New tickets and changes will not be accepted at this mirror.
Overview

Artifact ID: dbe48e0256974c34e75ff39cd1bece281e616155
Page Name:Command-line arguments
Date: 2018-06-22 07:19:33
Original User: zzo38
Parent: 19ff63728fc3d78758741f688e3d4930509b4d92 (diff)
Next ea269e1019e924218f4d1c234608b998497a04af
Content

(This is currently a draft and is subject to being changed.)

The syntax is: heromesh [switches] basename [resources...]

Switches are listed below. You can have more than one switch after a minus sign, if in the same argument.

The basename is the puzzle set name, including path if not in the current directory, but without the extension (there are four files, each with a different extension but the same basename).

Resources are relative to the puzzle set base (not the root node of the resource manager). See .heromeshrc for a list of the possible resources. These override resources in the .heromeshrc file.

Switches

Dot commands

When the -x switch is specified, it reads SQL statements from stdin. However, you can also use a line beginning with # as a comment, or a line beginning with . as a special command (neither works if an incomplete SQL statement has been read).

Valid dot commands are:

It also quits on EOF, but will complain if EOF occurs in the middle of a SQL statement.

Any result rows of SQL statements are written to stdout, with a vertical bar between columns and line breaks after each row.