aboutsummaryrefslogtreecommitdiffstats
path: root/doc/yaqlite.1.txt
blob: 2b6ce8034a0dea18eb82b8a286d7acc33d028568 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
yaqlite(1)
==========

NAME
----
yaqlite - YAML interface for SQLite

SYNOPSIS
--------
'yaqlite' [--help] [--version] <command> [<args>]

DESCRIPTION
-----------
TODO

OPTIONS
-------
-h, --help::
	Print usage help.

-V, --version::
	Print the program version.

COMMANDS
--------
*insert*::
	Insert a record from YAML.

*select*::
	Select a record as YAML.

INSERT COMMAND
--------------

Insert Synopsis
~~~~~~~~~~~~~~~
'yaqlite insert' [<options>] <table-name> [<input-file>]

Insert Description
~~~~~~~~~~~~~~~~~~

Insert Options
~~~~~~~~~~~~~~
--database::
	The database to insert into.

SELECT COMMAND
--------------
TODO

Select Synopsis
~~~~~~~~~~~~~~~
'yaqlite select' [<options>] <table-name> <record-id>

Select Description
~~~~~~~~~~~~~~~~~~

Select Options
~~~~~~~~~~~~~~
--database::
	The database to select from.

--exclude-column::
	Exclude the given column from the YAML output. This option can be given
	multiple times to exclude several columns.

--include-primary-key::
	Include the primary key field in the YAML output. By default, the primary
	key is excluded.

--primary_key::
	Name of the column to that matches <record-id>. Defaults to the table's
	primary key.