mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-26 03:09:08 +00:00
Add a number of command line switches: - '-r/--read': Read a SQL file and quit the REPL when done - '-s/--source': Read a SQL file and return to a SQL prompt when done - '--no-sqlrc': Do not read ~/.sqlrc on startup (see below) Add a dot-command: .read <filename>: Read a SQL file and return to a SQL prompt when done In addition, the sql REPL will source the ~/.sqlrc file on startup if it exists, unless the --no-sqlrc flag is set on startup. Note the slight asymmetry between the --read command line flag (which results in the program quitting when the file is read) and the .read command (which doesn't cause a quit). Also fix merge conflict with #10091
12 KiB
12 KiB