Skip to main content

Module args

Module args 

Source
Expand description

The command line, in DuckDB’s spelling.

DuckDB’s shell descends from SQLite’s, which means single dash long options, a positional argument that is the database rather than a script, and a second positional argument that is SQL. None of that is what a Rust program would choose and all of it is what a script written against duckdb expects, so it is what this parses.

Structs§

Options
Everything the command line can set.

Enums§

Action
What the shell was asked to do.
Command
One thing to run before the shell reads its input.

Functions§

parse
Reads the command line.