Allow Adding/Updating Multiple Options at Once
Mantenedores costumam responder em até 1 dia
Ninguém assumiu esta issue ainda.
Avaliação
- Dificuldade
- 5/5
- Tempo estimado
- Mais de uma semana
- Facilidade para iniciantes
- 35/100
Direção de pesquisa
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.
Escrita pelo modelo de indexação a partir do texto da issue.
Descrição
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.
- Linguagem predominante
- PHP
- Estrelas
- 105
- Forks
- 97
- Merge médio
- 1h 17min
- PRs com merge (30d)
- 6
Preparar o ambiente
- Sem Dockerfile nem arquivo Docker Compose
- Tem um modelo de pull request
- Ler o guia de contribuição
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de wp-cli/entity-command
-
Add an `--all` flag to `wp comment delete`Talvez já em andamento @shawnhooper assumiu há 361 dias. Abertacommand:comment-delete state:unconfirmed
Dificuldade 3/5 1-2 dias Facilidade para iniciantes 35/100
wp-cli/entity-command#538 · 2 comentários ·
Mantenedores costumam responder em até 1 dia
-
command:post-meta-get command:post-meta-list
Dificuldade 4/5 3-5 dias Facilidade para iniciantes 35/100
wp-cli/entity-command#142 · 10 comentários · 2 reações ·
Mantenedores costumam responder em até 1 dia
Todas as issues de wp-cli/entity-command
Issues semelhantes
-
needs-triage Platform(Default)
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 76/100
Mantenedores costumam responder em até 1 dia
-
[Store] RstLoader detects headings inside indented code blocksTalvez já em andamento @lazerg assumiu hoje. AbertaBug Status: Needs Review Store
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 82/100
Mantenedores costumam responder em até 1 dia
-
bug repo:ckeditor
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
-
No Code Attached Yet
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 72/100
joomla/joomla-cms#48611 ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 65/100
Mantenedores costumam responder em até 1 dia