aboutsummaryrefslogtreecommitdiff
path: root/doc/anastasis-reducer.1
diff options
context:
space:
mode:
Diffstat (limited to 'doc/anastasis-reducer.1')
-rw-r--r--doc/anastasis-reducer.193
1 files changed, 93 insertions, 0 deletions
diff --git a/doc/anastasis-reducer.1 b/doc/anastasis-reducer.1
new file mode 100644
index 0000000..8a79075
--- /dev/null
+++ b/doc/anastasis-reducer.1
@@ -0,0 +1,93 @@
1.\" Man page generated from reStructuredText.
2.
3.TH "ANASTASIS-REDUCER" "1" "Jul 18, 2021" "0.0" "Anastasis"
4.SH NAME
5anastasis-reducer \- anastasis CLI frontend
6.
7.nr rst2man-indent-level 0
8.
9.de1 rstReportMargin
10\\$1 \\n[an-margin]
11level \\n[rst2man-indent-level]
12level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
13-
14\\n[rst2man-indent0]
15\\n[rst2man-indent1]
16\\n[rst2man-indent2]
17..
18.de1 INDENT
19.\" .rstReportMargin pre:
20. RS \\$1
21. nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin]
22. nr rst2man-indent-level +1
23.\" .rstReportMargin post:
24..
25.de UNINDENT
26. RE
27.\" indent \\n[an-margin]
28.\" old: \\n[rst2man-indent\\n[rst2man-indent-level]]
29.nr rst2man-indent-level -1
30.\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
31.in \\n[rst2man-indent\\n[rst2man-indent-level]]u
32..
33.SH SYNOPSIS
34.sp
35\fBanastasis\-reducer\fP
36[\fB\-a**_*JSON*_|_\fP–arguments=\fIJSON\fP]
37[\fB\-b**_|_\fP–backup]
38[\fB\-c\fP\ \fIFILENAME\fP\ |\ \fB––config=\fP‌\fIFILENAME\fP]
39[\fB\-h\fP\ |\ \fB––help\fP]
40[\fB\-L\fP\ \fILOGLEVEL\fP\ |\ \fB––loglevel=\fP‌\fILOGLEVEL\fP]
41[\fB\-l\fP\ \fIFILENAME\fP\ |\ \fB––logfile=\fP‌\fIFILENAME\fP]
42[\fB\-r**_|_\fP–restore]
43[\fB\-v\fP\ |\ \fB––version\fP] COMMAND
44.SH DESCRIPTION
45.sp
46\fBanastasis\-reducer\fP is a command\-line tool to run Anastasis
47key recover and backup operations using a reducer\-style interface.
48The reducer will read the current state from standard input and
49write the resulting state to standard output. A COMMAND must
50be given on the command line. The arguments (if any) are to
51be given in JSON format to the \fB\-a\fP option. A list of
52commands can be found in the \&../reducer
53chapter.
54.INDENT 0.0
55.TP
56\fB\-a\fP \fIJSON\fP | \fB––arguments=\fP\fIJSON\fP
57Provide JSON inputs for the given command.
58.TP
59\fB\-b\fP | \fB–backup\fP
60Begin fresh reducer operation for a back up operation.
61.TP
62\fB\-c\fP \fIFILENAME\fP | \fB––config=\fP‌\fIFILENAME\fP
63Use the configuration from \fIFILENAME\fP\&.
64.TP
65\fB\-h\fP | \fB––help\fP
66Print short help on options.
67.TP
68\fB\-L\fP \fILOGLEVEL\fP | \fB––loglevel=\fP‌\fILOGLEVEL\fP
69Specifies the log level to use. Accepted values are: \fBDEBUG\fP, \fBINFO\fP,
70\fBWARNING\fP, \fBERROR\fP\&.
71.TP
72\fB\-l\fP \fIFILENAME\fP | \fB––logfile=\fP‌\fIFILENAME\fP
73Send logging output to \fIFILENAME\fP\&.
74.TP
75\fB\-r\fP | \fB–restore\fP
76Begin fresh reducer operation for a restore operation.
77.TP
78\fB\-v\fP | \fB––version\fP
79Print version information.
80.UNINDENT
81.SH SEE ALSO
82.sp
83anastasis\-gtk(1), anastasis\-httpd(1), anastasis.conf(5).
84.SH BUGS
85.sp
86Report bugs by using \fI\%https://bugs.anastasis.lu/\fP or by sending electronic
87mail to <\fI\%contact@anastasis.lu\fP>.
88.SH AUTHOR
89Anastasis SARL
90.SH COPYRIGHT
912020-2021 Anastasis SARL (AGPLv3+ or GFDL 1.3+)
92.\" Generated by docutils manpage writer.
93.