mirror of
https://github.com/weechat/weechat.git
synced 2026-06-24 20:06:38 +02:00
script: add control of autoload (enable/disable/toggle) (task #12393)
New option script.scripts.autoload, new options autoload/noautoload/toggleautoload for command /script, new action "A" (meta-A) on script buffer (toggle autoload).
This commit is contained in:
@@ -5,62 +5,66 @@
|
||||
search <text>
|
||||
show <script>
|
||||
load|unload|reload <script> [<script>...]
|
||||
autoload|noautoload|toggleautoload <script> [<script>...]
|
||||
install|remove|installremove|hold [-q] <script> [<script>...]
|
||||
upgrade
|
||||
update
|
||||
|
||||
list: gibt alle geladenen Skripten im Buffer aus (unabhängig der Programmiersprache)
|
||||
-o: gibt eine Liste der gestarteten Skripten im Buffer aus
|
||||
-i: eine Liste der gestarteten Skripten wird in die Eingabezeile kopiert (um sie dann manuell in einen Buffer zu senden)
|
||||
search: sucht Skripten nach Schlagwörtern oder beliebigem Text. Das Ergebnis wird im Skripten-Buffer dargestellt
|
||||
show: zeigt detailliert Informationen zu einem Skript an
|
||||
load: startet Skript(en)
|
||||
unload: beendet Skript(en)
|
||||
reload: Skript(en) werden neu geladen
|
||||
install: installiert/aktualisiert Skript(en) (physikalisch, auf dem Datenträger)
|
||||
remove: deinstalliert Skript(en) (physikalisch, vom Datenträger)
|
||||
installremove: installiert oder deinstalliert Skript(en), abhängig davon welcher Status vorliegt
|
||||
hold: halten/freigeben von Skript(en) (ein Skript welches gehalten wird, kann weder aktualisiert noch entfernt werden)
|
||||
-q: unterdrückter Modus: Es werden keine Nachrichten ausgegeben
|
||||
upgrade: aktualisiert alle installierten Skripten, die obsolet sind (wenn eine neue Version verfügbar ist)
|
||||
update: aktualisiert den lokalen Cache für die Skripten
|
||||
list: list loaded scripts (all languages)
|
||||
-o: send list of loaded scripts to buffer
|
||||
-i: copy list of loaded scripts in command line (for sending to buffer)
|
||||
search: search scripts by tags or text and display result on scripts buffer
|
||||
show: show detailed info about a script
|
||||
load: load script(s)
|
||||
unload: unload script(s)
|
||||
reload: reload script(s)
|
||||
autoload: autoload the script
|
||||
noautoload: do not autoload the script
|
||||
toggleautoload: toggle autoload
|
||||
install: install/upgrade script(s)
|
||||
remove: remove script(s)
|
||||
installremove: install or remove script(s), depending on current state
|
||||
hold: hold/unhold script(s) (a script held will not be upgraded any more and cannot be removed)
|
||||
-q: quiet mode: do not display messages
|
||||
upgrade: upgrade all installed scripts which are obsolete (new version available)
|
||||
update: update local scripts cache
|
||||
|
||||
Ohne Angaben von Argumenten öffnet dieser Befehl einen Buffer in welchem eine Liste der Skripten dargestellt wird.
|
||||
Without argument, this command opens a buffer with list of scripts.
|
||||
|
||||
Im Skript-Buffer, werden folgende Statusangaben zu einem Skript angezeigt:
|
||||
On script buffer, the possible status for each script are:
|
||||
* i a H r N
|
||||
| | | | | |
|
||||
| | | | | obsolete (neue Version verfügbar)
|
||||
| | | | Skript wird ausgeführt (geladen)
|
||||
| | | gehalten
|
||||
| | Skript wird beim Start, von Weechat, automatisch gestartet
|
||||
| Skript ist installiert (wird aber nicht ausgeführt)
|
||||
es wird empfohlen dieses Skript zu installieren
|
||||
| | | | | obsolete (new version available)
|
||||
| | | | running (loaded)
|
||||
| | | held
|
||||
| | autoloaded
|
||||
| installed
|
||||
popular script
|
||||
|
||||
Tastenbefehle die im Skript-Buffer genutzt werden können:
|
||||
alt+i installiert Skript (physikalisch)
|
||||
alt+r deinstalliert Skript (physikalisch
|
||||
alt+l startet ein Skript (Skript wird ausgeführt)
|
||||
alt+L Skript wird neu gestartet
|
||||
alt+u beendet ein Skript
|
||||
alt+h Skript wird gehalten bzw. freigegeben
|
||||
alt+v Skript anzeigen
|
||||
Keys on script buffer:
|
||||
alt+i install script
|
||||
alt+r remove script
|
||||
alt+l load script
|
||||
alt+L reload script
|
||||
alt+u unload script
|
||||
alt+h (un)hold script
|
||||
alt+v view script
|
||||
|
||||
Befehle die in der Eingabezeile des Skript-Buffers eingegeben werden können:
|
||||
i/r/l/L/u/h Aktionen die für ein Skript ausgeführt werden können (siehe Tastenbefehle, weiter oben)
|
||||
q schließt den Buffer
|
||||
$ Buffer wird aktualisiert
|
||||
s:x,y Buffer wird nach den Vorgaben x und y sortiert (siehe /help script.look.sort)
|
||||
s: die Sortierung des Buffers wird zurückgesetzt (Standardwerte werden genutzt)
|
||||
word(s) Skripten werden gefiltert: sucht nach einem oder mehreren Wörtern in den Skripten (der Beschreibung, in den Schlagwörtern, ...)
|
||||
* Filter wird zurückgesetzt
|
||||
Input allowed on script buffer:
|
||||
i/r/l/L/u/h action on script (same as keys above)
|
||||
q close buffer
|
||||
$ refresh buffer
|
||||
s:x,y sort buffer using keys x and y (see /help script.look.sort)
|
||||
s: reset sort (use default sort)
|
||||
word(s) filter scripts: search word(s) in scripts (description, tags, ...)
|
||||
* remove filter
|
||||
|
||||
Mausbefehle innerhalb des Skripten-Buffer:
|
||||
Mausrad in der Liste scrollen
|
||||
linke Maustaste Skript anwählen
|
||||
rechte Maustaste Skript installieren/entfernen
|
||||
Mouse actions on script buffer:
|
||||
wheel scroll list
|
||||
left button select script
|
||||
right button install/remove script
|
||||
|
||||
Beispiele:
|
||||
Examples:
|
||||
/script search url
|
||||
/script install iset.pl buffers.pl
|
||||
/script remove iset.pl
|
||||
|
||||
@@ -168,6 +168,11 @@
|
||||
** Typ: boolesch
|
||||
** Werte: on, off (Standardwert: `on`)
|
||||
|
||||
* [[option_script.scripts.autoload]] *script.scripts.autoload*
|
||||
** Beschreibung: `autoload scripts installed (make a link in "autoload" directory to script in parent directory`
|
||||
** Typ: boolesch
|
||||
** Werte: on, off (Standardwert: `on`)
|
||||
|
||||
* [[option_script.scripts.cache_expire]] *script.scripts.cache_expire*
|
||||
** Beschreibung: `Ablaufdatum des lokalen Caches, in Minuten (-1 = ohne Ablaufdatum, 0 = umgehend)`
|
||||
** Typ: integer
|
||||
|
||||
@@ -5,25 +5,29 @@
|
||||
search <text>
|
||||
show <script>
|
||||
load|unload|reload <script> [<script>...]
|
||||
autoload|noautoload|toggleautoload <script> [<script>...]
|
||||
install|remove|installremove|hold [-q] <script> [<script>...]
|
||||
upgrade
|
||||
update
|
||||
|
||||
list: list loaded scripts (all languages)
|
||||
-o: send list of loaded scripts to buffer
|
||||
-i: copy list of loaded scripts in command line (for sending to buffer)
|
||||
search: search scripts by tags or text and display result on scripts buffer
|
||||
show: show detailed info about a script
|
||||
load: load script(s)
|
||||
unload: unload script(s)
|
||||
reload: reload script(s)
|
||||
install: install/upgrade script(s)
|
||||
remove: remove script(s)
|
||||
installremove: install or remove script(s), depending on current state
|
||||
hold: hold/unhold script(s) (a script held will not be upgraded any more and cannot be removed)
|
||||
-q: quiet mode: do not display messages
|
||||
upgrade: upgrade all installed scripts which are obsolete (new version available)
|
||||
update: update local scripts cache
|
||||
list: list loaded scripts (all languages)
|
||||
-o: send list of loaded scripts to buffer
|
||||
-i: copy list of loaded scripts in command line (for sending to buffer)
|
||||
search: search scripts by tags or text and display result on scripts buffer
|
||||
show: show detailed info about a script
|
||||
load: load script(s)
|
||||
unload: unload script(s)
|
||||
reload: reload script(s)
|
||||
autoload: autoload the script
|
||||
noautoload: do not autoload the script
|
||||
toggleautoload: toggle autoload
|
||||
install: install/upgrade script(s)
|
||||
remove: remove script(s)
|
||||
installremove: install or remove script(s), depending on current state
|
||||
hold: hold/unhold script(s) (a script held will not be upgraded any more and cannot be removed)
|
||||
-q: quiet mode: do not display messages
|
||||
upgrade: upgrade all installed scripts which are obsolete (new version available)
|
||||
update: update local scripts cache
|
||||
|
||||
Without argument, this command opens a buffer with list of scripts.
|
||||
|
||||
|
||||
@@ -168,6 +168,11 @@
|
||||
** type: boolean
|
||||
** values: on, off (default value: `on`)
|
||||
|
||||
* [[option_script.scripts.autoload]] *script.scripts.autoload*
|
||||
** description: `autoload scripts installed (make a link in "autoload" directory to script in parent directory`
|
||||
** type: boolean
|
||||
** values: on, off (default value: `on`)
|
||||
|
||||
* [[option_script.scripts.cache_expire]] *script.scripts.cache_expire*
|
||||
** description: `local cache expiration time, in minutes (-1 = never expires, 0 = always expire)`
|
||||
** type: integer
|
||||
|
||||
@@ -5,25 +5,29 @@
|
||||
search <texte>
|
||||
show <script>
|
||||
load|unload|reload <script> [<script>...]
|
||||
autoload|noautoload|toggleautoload <script> [<script>...]
|
||||
install|remove|installremove|hold [-q] <script> [<script>...]
|
||||
upgrade
|
||||
update
|
||||
|
||||
list: lister les scripts chargés (tous les langages)
|
||||
-o: envoyer la liste des scripts chargés au tampon
|
||||
-i: copier la liste des scripts chargés dans la ligne de commande (pour envoi au tampon)
|
||||
search: chercher des scripts par étiquettes ou texte et afficher le résultat sur le tampon des scripts
|
||||
show: afficher des infos détaillées sur le script
|
||||
load: charger un ou plusieurs scripts
|
||||
unload: décharger un ou plusieurs scripts
|
||||
reload: recharger un ou plusieurs scripts
|
||||
install: installer/mettre à jour un ou plusieurs scripts
|
||||
remove: supprimer un ou plusieurs scripts
|
||||
installremove: installer ou supprimer un ou plusieurs scripts, selon l'état courant
|
||||
hold: figer/défiger un ou plusieurs scripts (un script figé ne sera plus mis à jour et ne peut pas être supprimé)
|
||||
-q: mode silencieux: ne pas afficher de messages
|
||||
upgrade: mettre à jour les scripts obsolètes (avec nouvelle version disponible)
|
||||
update: mettre à jour le cache local des scripts
|
||||
list: lister les scripts chargés (tous les langages)
|
||||
-o: envoyer la liste des scripts chargés au tampon
|
||||
-i: copier la liste des scripts chargés dans la ligne de commande (pour envoi au tampon)
|
||||
search: chercher des scripts par étiquettes ou texte et afficher le résultat sur le tampon des scripts
|
||||
show: afficher des infos détaillées sur le script
|
||||
load: charger un ou plusieurs scripts
|
||||
unload: décharger un ou plusieurs scripts
|
||||
reload: recharger un ou plusieurs scripts
|
||||
autoload: charger automatiquement un ou plusieurs scripts
|
||||
noautoload: ne pas charger automatiquement un ou plusieurs scripts
|
||||
toggleautoload: activer/désactiver le chargement automatique
|
||||
install: installer/mettre à jour un ou plusieurs scripts
|
||||
remove: supprimer un ou plusieurs scripts
|
||||
installremove: installer ou supprimer un ou plusieurs scripts, selon l'état courant
|
||||
hold: figer/défiger un ou plusieurs scripts (un script figé ne sera plus mis à jour et ne peut pas être supprimé)
|
||||
-q: mode silencieux: ne pas afficher de messages
|
||||
upgrade: mettre à jour les scripts obsolètes (avec nouvelle version disponible)
|
||||
update: mettre à jour le cache local des scripts
|
||||
|
||||
Sans paramètre, cette commande ouvre un tampon avec la liste des scripts.
|
||||
|
||||
|
||||
@@ -168,6 +168,11 @@
|
||||
** type: booléen
|
||||
** valeurs: on, off (valeur par défaut: `on`)
|
||||
|
||||
* [[option_script.scripts.autoload]] *script.scripts.autoload*
|
||||
** description: `charger automatiquement les scripts installés (faire un lien dans le répertoire "autoload" vers le script dans le répertoire parent)`
|
||||
** type: booléen
|
||||
** valeurs: on, off (valeur par défaut: `on`)
|
||||
|
||||
* [[option_script.scripts.cache_expire]] *script.scripts.cache_expire*
|
||||
** description: `temps d'expiration du cache local, en minutes (-1 = n'expire jamais, 0 = expire toujours)`
|
||||
** type: entier
|
||||
|
||||
@@ -5,25 +5,29 @@
|
||||
search <text>
|
||||
show <script>
|
||||
load|unload|reload <script> [<script>...]
|
||||
autoload|noautoload|toggleautoload <script> [<script>...]
|
||||
install|remove|installremove|hold [-q] <script> [<script>...]
|
||||
upgrade
|
||||
update
|
||||
|
||||
list: list loaded scripts (all languages)
|
||||
-o: send list of loaded scripts to buffer
|
||||
-i: copy list of loaded scripts in command line (for sending to buffer)
|
||||
search: search scripts by tags or text and display result on scripts buffer
|
||||
show: show detailed info about a script
|
||||
load: load script(s)
|
||||
unload: unload script(s)
|
||||
reload: reload script(s)
|
||||
install: install/upgrade script(s)
|
||||
remove: remove script(s)
|
||||
installremove: install or remove script(s), depending on current state
|
||||
hold: hold/unhold script(s) (a script held will not be upgraded any more and cannot be removed)
|
||||
-q: quiet mode: do not display messages
|
||||
upgrade: upgrade all installed scripts which are obsolete (new version available)
|
||||
update: update local scripts cache
|
||||
list: list loaded scripts (all languages)
|
||||
-o: send list of loaded scripts to buffer
|
||||
-i: copy list of loaded scripts in command line (for sending to buffer)
|
||||
search: search scripts by tags or text and display result on scripts buffer
|
||||
show: show detailed info about a script
|
||||
load: load script(s)
|
||||
unload: unload script(s)
|
||||
reload: reload script(s)
|
||||
autoload: autoload the script
|
||||
noautoload: do not autoload the script
|
||||
toggleautoload: toggle autoload
|
||||
install: install/upgrade script(s)
|
||||
remove: remove script(s)
|
||||
installremove: install or remove script(s), depending on current state
|
||||
hold: hold/unhold script(s) (a script held will not be upgraded any more and cannot be removed)
|
||||
-q: quiet mode: do not display messages
|
||||
upgrade: upgrade all installed scripts which are obsolete (new version available)
|
||||
update: update local scripts cache
|
||||
|
||||
Without argument, this command opens a buffer with list of scripts.
|
||||
|
||||
|
||||
@@ -168,6 +168,11 @@
|
||||
** tipo: bool
|
||||
** valori: on, off (valore predefinito: `on`)
|
||||
|
||||
* [[option_script.scripts.autoload]] *script.scripts.autoload*
|
||||
** descrizione: `autoload scripts installed (make a link in "autoload" directory to script in parent directory`
|
||||
** tipo: bool
|
||||
** valori: on, off (valore predefinito: `on`)
|
||||
|
||||
* [[option_script.scripts.cache_expire]] *script.scripts.cache_expire*
|
||||
** descrizione: `local cache expiration time, in minutes (-1 = never expires, 0 = always expire)`
|
||||
** tipo: intero
|
||||
|
||||
@@ -1,66 +1,70 @@
|
||||
[[command_script_script]]
|
||||
[command]*`script`* WeeChat スクリプトマネージャ::
|
||||
........................................
|
||||
/script list
|
||||
/script list [-o|-i]
|
||||
search <text>
|
||||
show <script>
|
||||
load|unload|reload <script> [<script>...]
|
||||
install|remove|hold <script> [<script>...]
|
||||
autoload|noautoload|toggleautoload <script> [<script>...]
|
||||
install|remove|installremove|hold [-q] <script> [<script>...]
|
||||
upgrade
|
||||
update
|
||||
|
||||
list: ロード済みスクリプトの表示 (すべての言語)
|
||||
-o: バッファにロード済みスクリプトのリストを表示
|
||||
-i: コマンドラインにロード済みスクリプトのリストをコピー (バッファ送信用)
|
||||
search: タグまたはテキストでスクリプトを検索し、スクリプトバッファに結果を表示
|
||||
show: スクリプトに関する詳細を表示
|
||||
load: スクリプトのロード (複数可)
|
||||
unload: スクリプトのアンロード (複数可)
|
||||
reload: スクリプトのリロード (複数可)
|
||||
install: スクリプトのインストール/アップグレード (複数可)
|
||||
remove: スクリプトの削除 (複数可)
|
||||
installremove: スクリプトのインストール又は削除 (複数可)、スクリプトの状態に依存
|
||||
hold: スクリプトのホールド/アンホールド (複数可) (ホールドされたスクリプトはアップグレードされず、削除もできなくなる)
|
||||
-q: 出力を抑制するモード: メッセージを表示しない
|
||||
upgrade: 全ての古いインストール済みスクリプトをアップグレード (新バージョンが利用可能な場合)
|
||||
update: ローカルスクリプトキャッシュのアップデート
|
||||
list: list loaded scripts (all languages)
|
||||
-o: send list of loaded scripts to buffer
|
||||
-i: copy list of loaded scripts in command line (for sending to buffer)
|
||||
search: search scripts by tags or text and display result on scripts buffer
|
||||
show: show detailed info about a script
|
||||
load: load script(s)
|
||||
unload: unload script(s)
|
||||
reload: reload script(s)
|
||||
autoload: autoload the script
|
||||
noautoload: do not autoload the script
|
||||
toggleautoload: toggle autoload
|
||||
install: install/upgrade script(s)
|
||||
remove: remove script(s)
|
||||
installremove: install or remove script(s), depending on current state
|
||||
hold: hold/unhold script(s) (a script held will not be upgraded any more and cannot be removed)
|
||||
-q: quiet mode: do not display messages
|
||||
upgrade: upgrade all installed scripts which are obsolete (new version available)
|
||||
update: update local scripts cache
|
||||
|
||||
引数がない場合、スクリプト表示用にバッファを開く
|
||||
Without argument, this command opens a buffer with list of scripts.
|
||||
|
||||
スクリプトバッファでは、以下の状態識別子が利用できます:
|
||||
On script buffer, the possible status for each script are:
|
||||
* i a H r N
|
||||
| | | | | |
|
||||
| | | | | アップデートが必要 (新バージョンが利用可能)
|
||||
| | | | 起動済み (ロード済み)
|
||||
| | | ホールド状態
|
||||
| | 自動ロード
|
||||
| インストール済み
|
||||
人気のあるスクリプト
|
||||
| | | | | obsolete (new version available)
|
||||
| | | | running (loaded)
|
||||
| | | held
|
||||
| | autoloaded
|
||||
| installed
|
||||
popular script
|
||||
|
||||
スクリプトバッファで利用可能なキーの組み合わせ:
|
||||
alt+i スクリプトのインストール
|
||||
alt+r スクリプトの削除
|
||||
alt+l スクリプトのロード
|
||||
alt+L スクリプトのリロード
|
||||
alt+u スクリプトのアンロード
|
||||
alt+h スクリプトの(アン)ホールド
|
||||
alt+v スクリプトの表示
|
||||
Keys on script buffer:
|
||||
alt+i install script
|
||||
alt+r remove script
|
||||
alt+l load script
|
||||
alt+L reload script
|
||||
alt+u unload script
|
||||
alt+h (un)hold script
|
||||
alt+v view script
|
||||
|
||||
スクリプトバッファで利用可能な入力:
|
||||
i/r/l/L/u/h スクリプトに対するアクション (上記キーと同じ)
|
||||
q バッファを閉じる
|
||||
$ バッファのリフレッシュ
|
||||
s:x,y x と y をキーにしてバッファをソート (/help script.look.sort 参照)
|
||||
s: ソート解除 (デフォルトのソート順)
|
||||
word(s) スクリプトのフィルタ: スクリプトを単語で検索 (複数可) (説明、タグ、...)
|
||||
* フィルタの解除
|
||||
Input allowed on script buffer:
|
||||
i/r/l/L/u/h action on script (same as keys above)
|
||||
q close buffer
|
||||
$ refresh buffer
|
||||
s:x,y sort buffer using keys x and y (see /help script.look.sort)
|
||||
s: reset sort (use default sort)
|
||||
word(s) filter scripts: search word(s) in scripts (description, tags, ...)
|
||||
* remove filter
|
||||
|
||||
スクリプトバッファにおけるマウス操作:
|
||||
ホイール リストのスクロール
|
||||
左ボタン スクリプトの選択
|
||||
右ボタン スクリプトのインストール / 削除
|
||||
Mouse actions on script buffer:
|
||||
wheel scroll list
|
||||
left button select script
|
||||
right button install/remove script
|
||||
|
||||
例:
|
||||
Examples:
|
||||
/script search url
|
||||
/script install iset.pl buffers.pl
|
||||
/script remove iset.pl
|
||||
|
||||
@@ -168,6 +168,11 @@
|
||||
** タイプ: ブール
|
||||
** 値: on, off (デフォルト値: `on`)
|
||||
|
||||
* [[option_script.scripts.autoload]] *script.scripts.autoload*
|
||||
** 説明: `autoload scripts installed (make a link in "autoload" directory to script in parent directory`
|
||||
** タイプ: ブール
|
||||
** 値: on, off (デフォルト値: `on`)
|
||||
|
||||
* [[option_script.scripts.cache_expire]] *script.scripts.cache_expire*
|
||||
** 説明: `ローカルキャッシュが無効になる時間、分単位 (-1 = 再取得しない、0 = 常に再取得)`
|
||||
** タイプ: 整数
|
||||
|
||||
Reference in New Issue
Block a user