Directories
¶
| Path | Synopsis |
|---|---|
|
Package cli implements the cobra command tree for agent-sql.
|
Package cli implements the cobra command tree for agent-sql. |
|
connection
Package connection registers the `connection` command group with cobra.
|
Package connection registers the `connection` command group with cobra. |
|
shared
Package shared provides helpers shared across CLI sub-packages.
|
Package shared provides helpers shared across CLI sub-packages. |
|
Package config handles reading and writing the agent-sql configuration file.
|
Package config handles reading and writing the agent-sql configuration file. |
|
Package credential handles reading and writing stored credentials.
|
Package credential handles reading and writing stored credentials. |
|
Package dialog provides a small abstraction over native OS dialogs for LLM-safe credential entry.
|
Package dialog provides a small abstraction over native OS dialogs for LLM-safe credential entry. |
|
dialogtest
Package dialogtest provides a recording fake dialog.Prompter for use in tests.
|
Package dialogtest provides a recording fake dialog.Prompter for use in tests. |
|
Package driver defines the shared interface that all database drivers implement.
|
Package driver defines the shared interface that all database drivers implement. |
|
cockroachdb
Package cockroachdb implements the CockroachDB driver as a thin wrapper over the PostgreSQL driver.
|
Package cockroachdb implements the CockroachDB driver as a thin wrapper over the PostgreSQL driver. |
|
duckdb
Package duckdb implements the DuckDB driver as a subprocess.
|
Package duckdb implements the DuckDB driver as a subprocess. |
|
mariadb
Package mariadb provides a thin wrapper over the MySQL driver with variant set to "mariadb".
|
Package mariadb provides a thin wrapper over the MySQL driver with variant set to "mariadb". |
|
mssql
Package mssql implements the Microsoft SQL Server driver using database/sql.
|
Package mssql implements the Microsoft SQL Server driver using database/sql. |
|
mysql
Package mysql implements the MySQL/MariaDB driver using go-sql-driver/mysql.
|
Package mysql implements the MySQL/MariaDB driver using go-sql-driver/mysql. |
|
pg
Package pg implements the PostgreSQL driver using pgx/v5 directly.
|
Package pg implements the PostgreSQL driver using pgx/v5 directly. |
|
snowflake
Package snowflake implements the Snowflake driver using the SQL REST API v2.
|
Package snowflake implements the Snowflake driver using the SQL REST API v2. |
|
sqlite
Package sqlite implements the SQLite driver using modernc.org/sqlite (pure Go).
|
Package sqlite implements the SQLite driver using modernc.org/sqlite (pure Go). |
|
Package errors provides error classification for database errors.
|
Package errors provides error classification for database errors. |
|
Package output handles formatting and writing query results and errors.
|
Package output handles formatting and writing query results and errors. |
|
Package resolve maps connection aliases, URLs, and file paths to concrete driver connections.
|
Package resolve maps connection aliases, URLs, and file paths to concrete driver connections. |
|
testutil
|
|
|
mockservers
Package mockservers provides mock database servers for testing.
|
Package mockservers provides mock database servers for testing. |
|
Package truncation provides string truncation with metadata tracking.
|
Package truncation provides string truncation with metadata tracking. |
Click to show internal directories.
Click to hide internal directories.