Progress bar

オープン
#134 コメント 1 件 リアクション 6 件 担当者 1 名 GitHub で見る

まだ誰も着手していません。

評価

この issue はまだ評価されていません。

説明

command:search-replace

Issue: I can't see the status of any search-replace commands as they are executing

Right now I'm running a search-replace command (as a regular expression) against the postmeta table which has around 1 million rows. This is pretty slow (which obviously has nothing to do with this command in itself) but I'd love some kind of feedback as to the progress of the command.

For reference the command is:

wp search-replace '\/vid-dodsfall\/(.)+' '/begravning/$1' --regex wp_postmeta

Solution: I'd love to see a progress bar indicator for this command

I would guess that the majority of use cases for search-replace are something along the lines of

wp search-replace https://live.com https://local.com

This can take a wee while on a larger database and I'd love to have some indication of progress.

主要言語
Gherkin
スター
61
フォーク
47
平均マージ
8分
マージ済み PR(30日)
1

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

wp-cli/search-replace-command のほかの issue

wp-cli/search-replace-command の issue をすべて見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。