CLI reference
gapline is a single binary with several sub-commands. Each one has its own reference page covering every flag, argument, and exit code.
Synopsis
Section titled “Synopsis”gapline [--config PATH] [--no-color | --force-color] [--threads N] <subcommand> [ARGS]See global flags for the options accepted by every sub-command.
Sub-commands
Section titled “Sub-commands”| Command | Purpose |
|---|---|
validate | Run the full GTFS Schedule validation suite on a feed. |
read | Query records from a GTFS file with a SQL-like --where clause. |
create | Insert new records into a GTFS file. |
update | Update matching records, with optional cascade to dependent files. |
delete | Remove matching records, cascading to dependents when necessary. |
run | Execute a batch of commands from a .gl script. |
rules | List or inspect validation rules registered with this build. |
completion | Generate or install a shell completion script. |
Conventions used on these pages
Section titled “Conventions used on these pages”- Flags written
--nameare long form. When a short form exists, it is shown next to the long form. PATH,QUERY,LEVEL, and so on are placeholders for the value the flag expects.- Code blocks use
$to mark interactive shell prompts. Output lines have no prompt. - Exit codes are documented on concepts/exit-codes; command pages link to the codes they can emit.