Fix hierarchy (and compilation warnings) for many plugins.

This commit is contained in:
Valentin Lorentz 2011-10-29 13:19:46 +02:00
parent eafcaa63c3
commit 5146e9f10c
36 changed files with 261 additions and 187 deletions

View File

@ -4,6 +4,9 @@
The Anonymous plugin The Anonymous plugin
==================== ====================
Commands
--------
.. _command-channel-do: .. _command-channel-do:
do <channel> <action> do <channel> <action>

View File

@ -4,6 +4,9 @@
The BadWords plugin The BadWords plugin
=================== ===================
Commands
--------
.. _command-channel-list: .. _command-channel-list:
list list

View File

@ -4,6 +4,9 @@
The Brainfuck plugin The Brainfuck plugin
==================== ====================
Commands
--------
.. _command-brainfuck-brainfuck: .. _command-brainfuck-brainfuck:
brainfuck brainfuck [--recover] [--input <characters>] <command> brainfuck brainfuck [--recover] [--input <characters>] <command>

View File

@ -4,6 +4,9 @@
The ChannelStats plugin The ChannelStats plugin
======================= =======================
Commands
--------
.. _command-channelstats-stats: .. _command-channelstats-stats:
channelstats stats [<channel>] [<name>] channelstats stats [<channel>] [<name>]
@ -44,7 +47,7 @@ Configuration
supybot.plugins.ChannelStats.frowns supybot.plugins.ChannelStats.frowns
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Default value: [':|', ':-/', ':-\\', ':\\', ':/', ':(', ':-(', ":'("] Default value: [':\|', ':-/', ':-\\', ':\\', ':/', ':(', ':-(', ":'("]
Determines what words (i.e., pieces of text with no spaces in them ) are considered 'frowns' for the purposes of stats-keeping. Determines what words (i.e., pieces of text with no spaces in them ) are considered 'frowns' for the purposes of stats-keeping.

View File

@ -4,6 +4,9 @@
The Ctcp plugin The Ctcp plugin
=============== ===============
Command
-------
.. _command-ctcp-version: .. _command-ctcp-version:
ctcp version [<channel>] [--nicks] ctcp version [<channel>] [--nicks]

View File

@ -4,12 +4,8 @@
The Debian plugin The Debian plugin
================= =================
.. _command-debian-bold: Commands
--------
debian bold
^^^^^^^^^^^
.. _command-debian-file: .. _command-debian-file:
@ -42,7 +38,7 @@ debian incoming [--{regexp,arch} <value>] [<glob> ...]
Checks debian incoming for a matching package name. The arch Checks debian incoming for a matching package name. The arch
parameter defaults to i386; *--regexp* returns only those package names parameter defaults to i386; *--regexp* returns only those package names
that match a given regexp, and normal matches use standard *nix that match a given regexp, and normal matches use standard \*nix
globbing. globbing.
.. _command-debian-version: .. _command-debian-version:

View File

@ -4,6 +4,9 @@
The Dict plugin The Dict plugin
=============== ===============
Commands
--------
.. _command-dict-synonym: .. _command-dict-synonym:
dict synonym <word> [<word> ...] dict synonym <word> [<word> ...]

View File

@ -4,6 +4,9 @@
The ERepublik plugin The ERepublik plugin
==================== ====================
Commands
--------
.. _command-erepublik-info: .. _command-erepublik-info:
erepublik info <name|id> erepublik info <name|id>

View File

@ -4,29 +4,17 @@
The Eureka plugin The Eureka plugin
================= =================
.. _command-eureka-adjust: Start and stop
--------------
eureka adjust [<channel>] <nick> <number> .. _command-eureka-start:
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Increase or decrease the score of *<nick>* on the *<channel>*. eureka start [<channel>]
If *<channel>* is not given, it defaults to the current channel. ^^^^^^^^^^^^^^^^^^^^^^^^
.. _command-eureka-resume: Start the Eureka on the given *<channel>*. If *<channel>* is not given,
eureka resume [<channel>]
^^^^^^^^^^^^^^^^^^^^^^^^^
Resume the Eureka on the given *<channel>*. If *<channel>* is not given,
it defaults to the current channel. it defaults to the current channel.
.. _command-eureka-skip:
eureka skip [<channel>]
^^^^^^^^^^^^^^^^^^^^^^^
Give up with this question, and switch to the next one.
.. _command-eureka-stop: .. _command-eureka-stop:
eureka stop [<channel>] eureka stop [<channel>]
@ -35,21 +23,6 @@ eureka stop [<channel>]
Stop the Eureka on the given *<channel>*. If *<channel>* is not given, Stop the Eureka on the given *<channel>*. If *<channel>* is not given,
it defaults to the current channel. it defaults to the current channel.
.. _command-eureka-clue:
eureka clue [<channel>]
^^^^^^^^^^^^^^^^^^^^^^^
Give the next clue.
.. _command-eureka-scores:
eureka scores [<channel>]
^^^^^^^^^^^^^^^^^^^^^^^^^
Return the scores on the *<channel>*. If *<channel>* is not given, it
defaults to the current channel.
.. _command-eureka-pause: .. _command-eureka-pause:
eureka pause [<channel>] eureka pause [<channel>]
@ -58,14 +31,50 @@ eureka pause [<channel>]
Pause the Eureka on the given *<channel>*. If *<channel>* is not given, Pause the Eureka on the given *<channel>*. If *<channel>* is not given,
it defaults to the current channel. it defaults to the current channel.
.. _command-eureka-start: .. _command-eureka-resume:
eureka start [<channel>] eureka resume [<channel>]
^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^
Start the Eureka on the given *<channel>*. If *<channel>* is not given, Resume the Eureka on the given *<channel>*. If *<channel>* is not given,
it defaults to the current channel. it defaults to the current channel.
Moderation
----------
.. _command-eureka-adjust:
eureka adjust [<channel>] <nick> <number>
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Increase or decrease the score of *<nick>* on the *<channel>*.
If *<channel>* is not given, it defaults to the current channel.
.. _command-eureka-skip:
eureka skip [<channel>]
^^^^^^^^^^^^^^^^^^^^^^^
Give up with this question, and switch to the next one.
.. _command-eureka-clue:
eureka clue [<channel>]
^^^^^^^^^^^^^^^^^^^^^^^
Give the next clue.
Scores
------
.. _command-eureka-scores:
eureka scores [<channel>]
^^^^^^^^^^^^^^^^^^^^^^^^^
Return the scores on the *<channel>*. If *<channel>* is not given, it
defaults to the current channel.
.. _command-eureka-score: .. _command-eureka-score:
eureka score [<channel>] <nick> eureka score [<channel>] <nick>
@ -87,9 +96,6 @@ supybot.plugins.Eureka.format
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.. _supybot.plugins.Eureka.format.score: .. _supybot.plugins.Eureka.format.score:
supybot.plugins.Eureka.format.score supybot.plugins.Eureka.format.score

View File

@ -4,6 +4,9 @@
The GitHub plugin The GitHub plugin
================= =================
Main commands
-------------
.. _command-github-repo-info: .. _command-github-repo-info:
github repo info <owner> <repository> [--enable <feature> <feature> ...] [--disable <feature> <feature>] github repo info <owner> <repository> [--enable <feature> <feature> ...] [--disable <feature> <feature>]
@ -22,6 +25,9 @@ Searches the string in the repository names database. You can
specify the page *<id>* of the results, and restrict the search specify the page *<id>* of the results, and restrict the search
to a particular programming *<language>*. to a particular programming *<language>*.
Announces
---------
.. _command-github-announce-remove: .. _command-github-announce-remove:
github announce remove [<channel>] <owner> <name> github announce remove [<channel>] <owner> <name>

View File

@ -4,6 +4,9 @@
The GoodFrench plugin The GoodFrench plugin
===================== =====================
Command
-------
.. _command-goodfrench-detect: .. _command-goodfrench-detect:
goodfrench detect <texte> goodfrench detect <texte>

View File

@ -4,6 +4,9 @@
The Internet plugin The Internet plugin
=================== ===================
Commands
--------
.. _command-internet-whois: .. _command-internet-whois:
internet whois <domain> internet whois <domain>

View File

@ -4,6 +4,9 @@
The Lart plugin The Lart plugin
=============== ===============
Command
-------
.. _command-lart-lart: .. _command-lart-lart:
lart lart [<channel>] [<id>] <who|what> [for <reason>] lart lart [<channel>] [<id>] <who|what> [for <reason>]

View File

@ -4,6 +4,9 @@
The Later plugin The Later plugin
================ ================
Commands
--------
.. _command-later-notes: .. _command-later-notes:
later notes [<nick>] later notes [<nick>]

View File

@ -4,6 +4,51 @@
The LinkRelay plugin The LinkRelay plugin
==================== ====================
Manage relays
-------------
.. _command-linkrelay-add:
linkrelay add [--from <channel>@<network>] [--to <channel>@<network>] [--regexp <regexp>] [--reciprocal]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Adds a relay to the list. You must give at least *--from* or *--to;* if
one of them is not given, it defaults to the current channel@network.
Only messages matching *<regexp>* will be relayed; if *<regexp>* is not
given, everything is relayed.
If *--reciprocal* is given, another relay will be added automatically,
in the opposite direction.
.. _command-linkrelay-remove:
linkrelay remove [--from <channel>@<network>] [--to <channel>@<network>] [--regexp <regexp>] [--reciprocal]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Remove a relay from the list. You must give at least *--from* or *--to;* if
one of them is not given, it defaults to the current channel@network.
Only messages matching *<regexp>* will be relayed; if *<regexp>* is not
given, everything is relayed.
If *--reciprocal* is given, another relay will be removed automatically,
in the opposite direction.
.. _command-linkrelay-list:
linkrelay list
^^^^^^^^^^^^^^
Returns all the defined relay links
Substitutes
-----------
.. _command-linkrelay-substitute:
linkrelay substitute <regexp> <replacement>
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Replaces all nicks that matches the *<regexp>* by the *<replacement>*
string.
.. _command-linkrelay-nosubstitute: .. _command-linkrelay-nosubstitute:
linkrelay nosubstitute <regexp> linkrelay nosubstitute <regexp>
@ -20,45 +65,6 @@ Returns the nicks of the people in the linked channels.
*<channel>* is only necessary if the message *<channel>* is only necessary if the message
isn't sent on the channel itself. isn't sent on the channel itself.
.. _command-linkrelay-list:
linkrelay list
^^^^^^^^^^^^^^
Returns all the defined relay links
.. _command-linkrelay-remove:
linkrelay remove [--from <channel>@<network>] [--to <channel>@<network>] [--regexp <regexp>] [--reciprocal]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Remove a relay from the list. You must give at least *--from* or *--to;* if
one of them is not given, it defaults to the current channel@network.
Only messages matching *<regexp>* will be relayed; if *<regexp>* is not
given, everything is relayed.
If *--reciprocal* is given, another relay will be removed automatically,
in the opposite direction.
.. _command-linkrelay-add:
linkrelay add [--from <channel>@<network>] [--to <channel>@<network>] [--regexp <regexp>] [--reciprocal]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Adds a relay to the list. You must give at least *--from* or *--to;* if
one of them is not given, it defaults to the current channel@network.
Only messages matching *<regexp>* will be relayed; if *<regexp>* is not
given, everything is relayed.
If *--reciprocal* is given, another relay will be added automatically,
in the opposite direction.
.. _command-linkrelay-substitute:
linkrelay substitute <regexp> <replacement>
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Replaces all nicks that matches the *<regexp>* by the *<replacement>*
string.
.. _plugin-linkrelay-config: .. _plugin-linkrelay-config:

View File

@ -1,29 +0,0 @@
.. _plugin-megahal:
The MegaHAL plugin
==================
Provides an interface to the MegaHAL chatterbot.
.. WARNING::
This plugin is **highly** deprecated and unstable.
It may cause your bot to randomly uppercase some letters, and you'll
have to restart it to make it stop (temporaly).
This is particulary annoying, and you won't be able to identify,
because it uppercases letters in your password.
More over, only this bug has been noticed, but it may cause security
issues with your bot.
You shouldn't use it at all.
.. include:: unofficial.inc
.. _command-megahal-clean:
clean
^^^^^
Saves MegaHAL brain to disk.

View File

@ -4,6 +4,9 @@
The Nickometer plugin The Nickometer plugin
===================== =====================
Command
-------
.. _command-nickometer-nickometer: .. _command-nickometer-nickometer:
nickometer nickometer [<nick>] nickometer nickometer [<nick>]

View File

@ -4,6 +4,9 @@
The PluginDownloader plugin The PluginDownloader plugin
=========================== ===========================
Commands
--------
.. _command-plugindownloader-install: .. _command-plugindownloader-install:
plugindownloader install <repository> <plugin> plugindownloader install <repository> <plugin>

View File

@ -4,6 +4,9 @@
The Praise plugin The Praise plugin
================= =================
Command
-------
.. _command-praise-praise: .. _command-praise-praise:
praise praise [<channel>] [<id>] <who|what> [for <reason>] praise praise [<channel>] [<id>] <who|what> [for <reason>]

View File

@ -4,6 +4,9 @@
The Quote plugin The Quote plugin
================ ================
Command
-------
.. _command-quote-random: .. _command-quote-random:
quote random [<channel>] quote random [<channel>]

View File

@ -4,6 +4,9 @@
The Relay plugin The Relay plugin
================ ================
Commands
--------
.. _command-relay-nicks: .. _command-relay-nicks:
relay nicks [<channel>] relay nicks [<channel>]
@ -13,15 +16,6 @@ Returns the nicks of the people in the channel on the various networks
the bot is connected to. *<channel>* is only necessary if the message the bot is connected to. *<channel>* is only necessary if the message
isn't sent on the channel itself. isn't sent on the channel itself.
.. _command-relay-part:
relay part <channel>
^^^^^^^^^^^^^^^^^^^^
Ceases relaying between the channel *<channel>* on all networks. The bot
will part from the channel on all networks in which it is on the
channel.
.. _command-relay-join: .. _command-relay-join:
relay join [<channel>] relay join [<channel>]
@ -34,6 +28,15 @@ relay between those channels unless he's told to join both
channels. If *<channel>* is not given, starts relaying on the channel channels. If *<channel>* is not given, starts relaying on the channel
the message was sent in. the message was sent in.
.. _command-relay-part:
relay part <channel>
^^^^^^^^^^^^^^^^^^^^
Ceases relaying between the channel *<channel>* on all networks. The bot
will part from the channel on all networks in which it is on the
channel.
.. _plugin-relay-config: .. _plugin-relay-config:

View File

@ -4,6 +4,9 @@
The Reply plugin The Reply plugin
================ ================
Commands
--------
.. _command-reply-notice: .. _command-reply-notice:
reply notice <text> reply notice <text>

View File

@ -4,6 +4,9 @@
The Scheduler plugin The Scheduler plugin
==================== ====================
Commands
--------
.. _command-scheduler-repeat: .. _command-scheduler-repeat:
scheduler repeat <name> <seconds> <command> scheduler repeat <name> <seconds> <command>

View File

@ -4,6 +4,9 @@
The Seeks plugin The Seeks plugin
================ ================
Command
-------
.. _command-seeks-search: .. _command-seeks-search:
seeks search <query> seeks search <query>

View File

@ -4,6 +4,9 @@
The Seen plugin The Seen plugin
=============== ===============
Commands
--------
.. _command-seen-user: .. _command-seen-user:
seen user [<channel>] <name> seen user [<channel>] <name>

View File

@ -4,6 +4,9 @@
The ShrinkUrl plugin The ShrinkUrl plugin
==================== ====================
Commands
--------
.. _command-shrinkurl-xrl: .. _command-shrinkurl-xrl:
shrinkurl xrl <url> shrinkurl xrl <url>

View File

@ -4,6 +4,9 @@
The Status plugin The Status plugin
================= =================
Commands
--------
.. _command-status-status: .. _command-status-status:
status status status status

View File

@ -4,6 +4,9 @@
The Sudo plugin The Sudo plugin
=============== ===============
Commands
--------
.. _command-sudo-sudo: .. _command-sudo-sudo:
sudo sudo <commande> [<arg1> [<arg2> ...]] sudo sudo <commande> [<arg1> [<arg2> ...]]

View File

@ -4,6 +4,9 @@
The SupyML plugin The SupyML plugin
================= =================
Command
-------
.. _command-supyml-eval: .. _command-supyml-eval:
supyml eval [--warnings] <SupyML script> supyml eval [--warnings] <SupyML script>

View File

@ -4,22 +4,15 @@
The SupySandbox plugin The SupySandbox plugin
====================== ======================
Command
-------
.. _command-supysandbox-sandbox: .. _command-supysandbox-sandbox:
supysandbox sandbox <code> supysandbox sandbox <code>
^^^^^^^^^^^^^^^^^^^^^^^^^^
Runs Python code safely thanks to pysandbox Runs Python code safely thanks to pysandbox
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.. _command-supysandbox-runtests:
supysandbox runtests
^^^^^^^^^^^^^^^^^^^^
.. _plugin-supysandbox-config: .. _plugin-supysandbox-config:

View File

@ -8,6 +8,9 @@ The timebomb game.
.. include:: unofficial.inc .. include:: unofficial.inc
Commands
--------
.. _command-timebomb-cutwire: .. _command-timebomb-cutwire:
timebomb cutwire <colored wire> timebomb cutwire <colored wire>

View File

@ -8,6 +8,9 @@ The trivia game.
.. include:: unofficial.inc .. include:: unofficial.inc
Command
-------
.. _command-trivia-strivia: .. _command-trivia-strivia:
trivia strivia [<channel>] trivia strivia [<channel>]

View File

@ -4,31 +4,8 @@
The Twitter plugin The Twitter plugin
================== ==================
.. _command-twitter-friendslist: Tweets
--------
twitter friendslist [<channel>] [<user>]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Replies with the friends (i.e. people who one subscribes to) of the
*<user>*. If *<user>* is not given, it defaults to the *<channel>*'s account.
If *<channel>* is not given, it defaults to the current channel.
.. _command-twitter-unfollow:
twitter unfollow [<channel>] <user>
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Unfollow a specified *<user>*
If *<channel>* is not given, it defaults to the current channel.
.. _command-twitter-replies:
twitter replies [<channel>] [--since <oldest>]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Replies with the replies timeline.
If *<channel>* is not given, it defaults to the current channel.
If given, *--since* takes a tweet ID, used as a boundary
.. _command-twitter-timeline: .. _command-twitter-timeline:
@ -44,13 +21,14 @@ If given, *--count* takes an integer, that stands for the number of
tweets to display. tweets to display.
If *--noretweet* is given, only native user's tweet will be displayed. If *--noretweet* is given, only native user's tweet will be displayed.
.. _command-twitter-follow: .. _command-twitter-replies:
twitter follow [<channel>] <user> twitter replies [<channel>] [--since <oldest>]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Follow a specified *<user>* Replies with the replies timeline.
If *<channel>* is not given, it defaults to the current channel. If *<channel>* is not given, it defaults to the current channel.
If given, *--since* takes a tweet ID, used as a boundary
.. _command-twitter-post: .. _command-twitter-post:
@ -78,6 +56,34 @@ twitter delete [<channel>] <id>
Delete a specified status with id *<id>* Delete a specified status with id *<id>*
If *<channel>* is not given, it defaults to the current channel. If *<channel>* is not given, it defaults to the current channel.
Friends
-------
.. _command-twitter-friendslist:
twitter friendslist [<channel>] [<user>]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Replies with the friends (i.e. people who one subscribes to) of the
*<user>*. If *<user>* is not given, it defaults to the *<channel>*'s account.
If *<channel>* is not given, it defaults to the current channel.
.. _command-twitter-unfollow:
twitter unfollow [<channel>] <user>
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Unfollow a specified *<user>*
If *<channel>* is not given, it defaults to the current channel.
.. _command-twitter-follow:
twitter follow [<channel>] <user>
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Follow a specified *<user>*
If *<channel>* is not given, it defaults to the current channel.
.. _plugin-twitter-config: .. _plugin-twitter-config:

View File

@ -4,6 +4,9 @@
The URL plugin The URL plugin
============== ==============
Commands
--------
.. _command-url-stats: .. _command-url-stats:
url stats [<channel>] url stats [<channel>]

View File

@ -4,6 +4,26 @@
The Utilities plugin The Utilities plugin
==================== ====================
Random
------
.. _command-utilities-shuffle:
utilities shuffle <arg> [<arg> ...]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Shuffles the arguments given.
.. _command-utilities-sample:
utilities sample <num> <arg> [<arg> ...]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Randomly chooses *<num>* items out of the arguments given.
Programming/nesting
-------------------
.. _command-utilities-ignore: .. _command-utilities-ignore:
utilities ignore requires no arguments utilities ignore requires no arguments
@ -12,13 +32,6 @@ utilities ignore requires no arguments
Does nothing. Useful sometimes for sequencing commands when you don't Does nothing. Useful sometimes for sequencing commands when you don't
care about their non-error return values. care about their non-error return values.
.. _command-utilities-shuffle:
utilities shuffle <arg> [<arg> ...]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Shuffles the arguments given.
.. _command-utilities-success: .. _command-utilities-success:
utilities success [<text>] utilities success [<text>]
@ -40,13 +53,6 @@ string(s) given to it; $nick (or $who), $randomNick, $randomInt,
$botnick, $channel, $user, $host, $today, $now, and $randomDate are all $botnick, $channel, $user, $host, $today, $now, and $randomDate are all
handled appropriately. handled appropriately.
.. _command-utilities-sample:
utilities sample <num> <arg> [<arg> ...]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Randomly chooses *<num>* items out of the arguments given.
.. _command-utilities-countargs: .. _command-utilities-countargs:
utilities countargs <arg> [<arg> ...] utilities countargs <arg> [<arg> ...]
@ -54,6 +60,13 @@ utilities countargs <arg> [<arg> ...]
Counts the arguments given. Counts the arguments given.
.. _command-utilities-apply:
utilities apply <command> <text>
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Tokenizes *<text>* and calls *<command>* with the resulting arguments.
.. _command-utilities-last: .. _command-utilities-last:
utilities last <text> [<text> ...] utilities last <text> [<text> ...]
@ -63,13 +76,6 @@ Returns the last argument given. Useful when you'd like multiple
nested commands to run, but only the output of the last one to be nested commands to run, but only the output of the last one to be
returned. returned.
.. _command-utilities-apply:
utilities apply <command> <text>
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Tokenizes *<text>* and calls *<command>* with the resulting arguments.
.. _plugin-utilities-config: .. _plugin-utilities-config:

View File

@ -4,6 +4,9 @@
The WikiTrans plugin The WikiTrans plugin
==================== ====================
Command
-------
.. _command-wikitrans-translate: .. _command-wikitrans-translate:
wikitrans translate <from language> <to language> <word> wikitrans translate <from language> <to language> <word>