weechat/doc/fr/autogen/user/ruby_commands.asciidoc

23 lines
857 B
Plaintext
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

[[command_ruby_ruby]]
[command]*`ruby`* lister/charger/décharger des scripts::
----
/ruby list|listfull [<nom>]
load [-q] <fichier>
autoload
reload|unload [-q] [<nom>]
list : lister les scripts chargés
listfull : lister les scripts chargés (verbeux)
load : charger un script
autoload : charger tous les scripts dans le répertoire "autoload"
reload : recharger un script (si pas de nom donné, décharger tous les scripts puis charger tous les scripts dans le répertoire "autoload")
unload : décharger un script (si pas de nom donné, décharger tous les scripts)
fichier : script (fichier) à charger
nom : nom de script (nom utilisé dans l'appel à la fonction "register")
-q : mode silencieux : ne pas afficher de messages
Sans paramètre, cette commande liste les scripts chargés.
----