IRCCD-TEST(1) - General Commands Manual

NAME

irccd-test - irccd plugin tester

SYNOPSIS

irccd-test [-c config] id|path

DESCRIPTION

The irccd-test program is a simple utility to test plugins on the command line.

You can test a global plugin by just specifying plugin’s id or using a full filesystem path.

It opens a prompt that waits for user input, each line consist of a specific plugin event. These are mostly the same as the Javascript API offers.

If compiled with libedit library, the prompt offers basic completion for the plugin events.

When a event requires a server, a fake debugging server is created if it does not exists already. That fake server simply prints every command on the command line instead of sending them through IRC.

COMMANDS

The following commands are allowed as input:

EXAMPLES

Example with a local plugin:

$ irccd-test test.js
> onLoad
> onMessage localhost francis #general Bonjour

Example with a global plugin:

$ irccd-test hangman
> onLoad
> onCommand localhost francis #general

SEE ALSO

irccd(1)

macOS 11.2 - @IRCCD_MAN_DATE@