Allow Adding/Updating Multiple Options at Once
まだ誰も着手していません。
評価
調査の方向性
Start by reviewing the linked wp-cli/wp-cli#2972 and wp-cli/entity-command#220 issues, then inspect the existing wp option update command entry point. Determine whether multiple key/value pairs or JSON should be supported and document the accepted input; done means the chosen form is implemented and its behavior is covered by tests.
索引モデルが issue の本文から書いたものです。
説明
I was just looking at https://github.com/wp-cli/wp-cli/issues/2972 and https://github.com/wp-cli/entity-command/issues/220 (regarding deleting multiple options), but I haven't seen anyone requesting what I'm looking for.
I'm wondering if it'd be possible to do something like this:
$ wp option update blogname "Random blog name" blogdescription "Some random blog description"
I'm not sure if this is the way it would actually be implemented – perhaps the options would need to be specified in JSON format instead, or something similar.
Perhaps this is already possible in some other way…if so, I hope someone can point me in the right direction as I can't find any documentation on this.
- 主要言語
- PHP
- スター
- 105
- フォーク
- 97
- 平均マージ
- 2時間 1分
- マージ済み PR(30日)
- 12
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
wp-cli/entity-command のほかの issue
-
command:comment-delete state:unconfirmed
難易度 3/5 1〜2日 初心者へのやさしさ 35/100
wp-cli/entity-command#538 · コメント 2 件 ·
-
command:post-meta-get command:post-meta-list
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
wp-cli/entity-command#142 · コメント 10 件 · リアクション 2 件 ·
wp-cli/entity-command の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
-
難易度 1/5 1時間未満 初心者へのやさしさ 85/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
hector-jewell/food-delivery-system-for-restaurant-using-php#1311 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
Sylius/SyliusGridBundle#501 ·