'\" t .\" Title: yaqlite .\" Author: [FIXME: author] [see http://www.docbook.org/tdg5/en/html/author] .\" Generator: DocBook XSL Stylesheets vsnapshot .\" Date: 03/27/2022 .\" Manual: \ \& .\" Source: \ \& .\" Language: English .\" .TH "YAQLITE" "1" "03/27/2022" "\ \&" "\ \&" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" yaqlite \- YAML interface for SQLite .SH "SYNOPSIS" .sp \fIyaqlite\fR [\-\-help] [\-\-version] [] .SH "DESCRIPTION" .sp A bridge between YAML and SQLite\&. Enables inserting YAML records into a database and selecting records as YAML\&. .SH "OPTIONS" .PP \-h, \-\-help .RS 4 Print usage help\&. .RE .PP \-V, \-\-version .RS 4 Print the program version\&. .RE .SH "COMMANDS" .PP \fBinsert\fR .RS 4 Insert a record from YAML\&. .RE .PP \fBselect\fR .RS 4 Select a record as YAML\&. .RE .SH "INSERT COMMAND" .SS "Insert Synopsis" .sp \fIyaqlite insert\fR [] [] .SS "Insert Description" .sp Insert a YAML\-formatted record into \&. The YAML is read from if specified\&. If is "\-" or empty, YAML is read from standard input\&. .SS "Insert Options" .PP \-\-database .RS 4 The database to insert into\&. .RE .SH "SELECT COMMAND" .SS "Select Synopsis" .sp \fIyaqlite select\fR [] .SS "Select Description" .sp Select a record by from \&. The record will output in YAML format to standard output\&. .SS "Select Options" .PP \-\-database .RS 4 The database to select from\&. .RE .PP \-\-exclude\-column .RS 4 Exclude the given column from the YAML output\&. This option can be given multiple times to exclude several columns\&. .RE .PP \-\-include\-primary\-key .RS 4 Include the primary key field in the YAML output\&. By default, the primary key is excluded\&. .RE .PP \-\-primary_key .RS 4 Name of the column to that matches \&. Defaults to the table\(cqs primary key\&. .RE