Mercurial > sci
diff 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 |
line wrap: on
line diff
--- a/man/scid.8 Wed Aug 17 09:52:00 2022 +0200 +++ b/man/scid.8 Wed Aug 17 11:07:08 2022 +0200 @@ -26,6 +26,10 @@ .Op Fl f .Op Fl d Ar database-file .Op Fl t Ar theme-directory +.Nm +.Cm api-get +.Nm +.Cm api-reset .\" DESCRIPTION .Sh DESCRIPTION The @@ -52,7 +56,7 @@ Available options: .Bl -tag .It Fl f -Runs as FastCGI process. +Runs as FastCGI process (recommended). .It Fl d Ar database-file Use path specified .Pa database-file @@ -62,6 +66,19 @@ .Ar theme-directory as theme to use. .El +.Pp +Available commands: +.Bl -tag +.It Cm api-get +Print the configured API key required for +.Xr scictl 8 +and +.Xr sciworkerd 8 . +.It Cm api-reset +Reset or create the API key if not already existing in database and print it. +.El +.Pp +Otherwise, if no command is specified run either as CGI or FastCGI service. .\" SEE ALSO .Sh SEE ALSO .Xr sci 7 ,