差分
このページの2つのバージョン間の差分を表示します。
| dokuwiki:ja:cli [2006/11/21] – 作成 admin | dokuwiki:ja:cli [不明な日付] (現在) – 外部編集 (不明な日付) 127.0.0.1 | ||
|---|---|---|---|
| 行 1: | 行 1: | ||
| + | ====== コマンドラインツール ====== | ||
| + | [[DokuWiki]] comes with a few PHP scripts meant to be executed from the (UNIX) commandline. All those scripts are located in the '' | ||
| + | |||
| + | ===== dwpage.php ===== | ||
| + | |||
| + | Usage: dwpage.php [opts] < | ||
| + | | ||
| + | Utility to help command line Dokuwiki page editing, allow | ||
| + | pages to be checked out for editing then committed after changes | ||
| + | | ||
| + | Normal operation would be; | ||
| + | | ||
| + | | ||
| + | | ||
| + | ACTIONS | ||
| + | checkout: see $ dwpage.php --help checkout | ||
| + | commit: see $ dwpage.php --help commit | ||
| + | lock: see $ dwpage.php --help lock | ||
| + | | ||
| + | OPTIONS | ||
| + | -h, --help=< | ||
| + | e.g. $ ./ | ||
| + | e.g. $ ./ | ||
| + | |||
| + | ===== indexer.php ===== | ||
| + | |||
| + | Allows you to update the [[search]] index. | ||
| + | |||
| + | Usage: indexer.php < | ||
| + | | ||
| + | Updates the searchindex by indexing all new or changed pages | ||
| + | when the -c option is given the index is cleared first. | ||
| + | | ||
| + | OPTIONS | ||
| + | -h, --help | ||
| + | -c, --clear | ||
| + | |||
| + | ===== wantedpages.php ===== | ||
| + | |||
| + | Usage: wantedpages.php [wiki: | ||
| + | | ||
| + | Outputs a list of wanted pages (pages which have | ||
| + | internal links but do not yet exist). | ||
| + | | ||
| + | If the optional [wiki: | ||
| + | defaults to the root wiki namespace | ||
| + | | ||
| + | OPTIONS | ||
| + | -h, --help=< | ||