WeeChat dev news - Tag - inputWeeChat development blog2024-01-22T17:53:19+01:00urn:md5:edd364dae4d94114a2ba146603903683DotclearScript cmd_help.pyurn:md5:c702cd06a45c146d49d0dba32a2271542011-05-16T19:30:00+02:002019-11-04T22:00:56+01:00Sébastien Helleuscriptshelpinputpython <p>A new script <a href="https://weechat.org/scripts/source/stable/cmd_help.py">cmd_help.py</a> is now available. It displays contextual help on command line like:</p>
<ul>
<li>commands:
<ul>
<li>list of commands if you type a non-complete command name, for example: <code>/serv</code></li>
<li>help about command arguments if you type command (and optionally arguments), for example with <code>/server add</code> you'll see arguments for adding an IRC server</li>
</ul></li>
<li>options:
<ul>
<li>list of options if you type a non-complete option name with command <code>/set</code>, for example: <code>/set weechat</code></li>
<li>help about option if you type a complete or unique option name with command <code>/set</code>, for example: <code>/set weechat.look.command_chars</code></li>
</ul></li>
</ul>
<p>Note: this script requires version 0.3.5 of WeeChat.</p>
<p>Screenshot (click for full size):</p>
<p><a href="https://blog.weechat.org/public/weechat_cmd_help_2011-05-16.png"><img src="https://blog.weechat.org/public/.weechat_cmd_help_2011-05-16_m.jpg" alt="cmd_help.py" style="display:table; margin:0 auto;" title="cmd_help.py" /></a></p>