view plugins/plugin/plugin.7 @ 1081:617686cb4e67

make: fix race condition with agressive parallel build
author David Demelier <markand@malikania.fr>
date Tue, 20 Jul 2021 08:44:20 +0200
parents 3dec26654d06
children f06e9761cc90
line wrap: on
line source

.\"
.\" Copyright (c) 2013-2021 David Demelier <markand@malikania.fr>
.\"
.\" Permission to use, copy, modify, and/or distribute this software for any
.\" purpose with or without fee is hereby granted, provided that the above
.\" copyright notice and this permission notice appear in all copies.
.\"
.\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
.\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
.\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
.\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
.\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\"
.Dd @IRCCD_MAN_DATE@
.Dt IRCCD-PLUGIN-PLUGIN 7
.Os
.\" NAME
.Sh NAME
.Nm plugin
.Nd irccd plugin plugin
.\" DESCRIPTION
.Sh DESCRIPTION
The
.Nm
plugin let you inspect loaded plugins.
.\" INSTALLATION
.Sh INSTALLATION
The plugin
.Nm
is distributed with irccd. To enable it add it into your
.Xr irccd.conf 5
configuration file.
.Pp
.Bd -literal -offset indent
plugin "plugin"
.Ed
.\" USAGE
.Sh USAGE
The
.Nm
plugin only reacts to the special command. It understands
.Ar info
and
.Ar list
sub commands.
.Pp
.Bl -bullet -compact
.It
The sub command
.Ar info
shows information about a plugin.
.It
The sub command
.Ar list
shows loaded plugins (see configuration for limits).
.El
.Pp
Both commands work in a channel or as private message with irccd.
.\" CONFIGURATION
.Sh CONFIGURATION
The plugin
.Nm
supports the following configuration properties:
.Bl -tag -width "max-list-columns (int)"
.It Va max-list-lines No (int)
max number of lines allowed for the
.Ar list
sub command (Optional, default: 3).
.It Va max-list-columns No (int)
max number of columns allowed per lines (Optional, default: 80).
.El
.\" TEMPLATES
.Sh TEMPLATES
The plugin
.Nm
supports the following templates properties:
.Bl -tag -width not-found
.It Va usage
Message to show on invalid usage.
.It Va info
Plugin information message to show. Keywords:
.Em author , license , name , summary , version .
.It Va not-found
Message to show if a plugin does not exist. Keywords:
.Em name .
.It Va too-long
Message to show if the list of plugin is too long.
.El
.Pp
All templates support the following standard keywords:
.Em channel , command , nickname , origin , plugin , server.
.\" SEE ALSO
.Sh SEE ALSO
.Xr irccd 1 ,
.Xr irccd-templates 7