.run¶
.run
executes a script. It also sets up the current .run
script
directory such that subsequent commands such as .exec
, .run
, etc
are all relative to this directory.
Syntax¶
usage: .run [options] [path]
options:
-c,--charset <arg> sets the file character set
Example¶
-- Run lib/test.sql and sets the current script directory to lib/
.run lib/test.sql