ferrule-core
Result formatters, output rendering, and credential-resolution glue for the
ferruledatabase CLI.
ferrule-core sits between the embeddable SQL driver core
(ferrule-sql) and the ferrule
command-line interface. It adds the pieces that the driver core deliberately
leaves out:
- Output formatters — table (
tabled), JSON / JSONL, CSV, YAML, Markdown, and HTML rendering over the neutralValue/Rowtypes. - Resolver — the one module that bridges
ferrule-configcredential resolution into a connect call (kept here soferrule-sqlstays config-free). - Schema / dump helpers built on the driver core's introspection.
Backend support is feature-gated and forwards straight through to
ferrule-sql: enable postgres, mysql, mssql, sqlite, oracle, and/or
ssh as needed (the default set is empty).
Most embedders who only need to talk to databases should depend on
ferrule-sql directly; ferrule-core
is for callers that also want ferrule's rendering and credential plumbing.
License
Licensed under either of MIT or Apache-2.0 (SPDX: MIT OR Apache-2.0) at your
option.