Allow Adding/Updating Multiple Options at Once
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Aptitud para principiantes
- 35/100
Línea de trabajo
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.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
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.
- Lenguaje dominante
- PHP
- Estrellas
- 105
- Forks
- 97
- Merge medio
- 2 h 1 min
- PR fusionados (30 d)
- 12
Guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de wp-cli/entity-command
-
command:comment-delete state:unconfirmed
Dificultad 3/5 1-2 días Aptitud para principiantes 35/100
wp-cli/entity-command#538 · 2 comentarios ·
-
command:post-meta-get command:post-meta-list
Dificultad 4/5 3-5 días Aptitud para principiantes 35/100
wp-cli/entity-command#142 · 10 comentarios · 2 reacciones ·
Todos los issues de wp-cli/entity-command
Issues similares
-
[Chore] Keep one viget-block-generator skill and replicate it, instead of four tracked copies Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 85/100
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
hector-jewell/food-delivery-system-for-restaurant-using-php#1311 ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
Sylius/SyliusGridBundle#501 ·