comparison man/scid.8 @ 54:85c59fbf1407

scid: add commands to retrieve API key
author David Demelier <markand@malikania.fr>
date Wed, 17 Aug 2022 11:07:08 +0200
parents 084dee2bef50
children 5076be758687
comparison
equal deleted inserted replaced
53:319979427566 54:85c59fbf1407
24 .Sh SYNOPSIS 24 .Sh SYNOPSIS
25 .Nm 25 .Nm
26 .Op Fl f 26 .Op Fl f
27 .Op Fl d Ar database-file 27 .Op Fl d Ar database-file
28 .Op Fl t Ar theme-directory 28 .Op Fl t Ar theme-directory
29 .Nm
30 .Cm api-get
31 .Nm
32 .Cm api-reset
29 .\" DESCRIPTION 33 .\" DESCRIPTION
30 .Sh DESCRIPTION 34 .Sh DESCRIPTION
31 The 35 The
32 .Nm 36 .Nm
33 program is the main controller daemon responsible of the database access and 37 program is the main controller daemon responsible of the database access and
50 continuous integration framework. 54 continuous integration framework.
51 .Pp 55 .Pp
52 Available options: 56 Available options:
53 .Bl -tag 57 .Bl -tag
54 .It Fl f 58 .It Fl f
55 Runs as FastCGI process. 59 Runs as FastCGI process (recommended).
56 .It Fl d Ar database-file 60 .It Fl d Ar database-file
57 Use path specified 61 Use path specified
58 .Pa database-file 62 .Pa database-file
59 as alternative database location. 63 as alternative database location.
60 .It Fl t Ar theme-directory 64 .It Fl t Ar theme-directory
61 Use 65 Use
62 .Ar theme-directory 66 .Ar theme-directory
63 as theme to use. 67 as theme to use.
64 .El 68 .El
69 .Pp
70 Available commands:
71 .Bl -tag
72 .It Cm api-get
73 Print the configured API key required for
74 .Xr scictl 8
75 and
76 .Xr sciworkerd 8 .
77 .It Cm api-reset
78 Reset or create the API key if not already existing in database and print it.
79 .El
80 .Pp
81 Otherwise, if no command is specified run either as CGI or FastCGI service.
65 .\" SEE ALSO 82 .\" SEE ALSO
66 .Sh SEE ALSO 83 .Sh SEE ALSO
67 .Xr sci 7 , 84 .Xr sci 7 ,
68 .Xr scictl 8 , 85 .Xr scictl 8 ,
69 .Xr sciworkerd 8 86 .Xr sciworkerd 8