Skip to content

Allow Adding/Updating Multiple Options at Once #230

@daleharrison

Description

@daleharrison

I was just looking at wp-cli/wp-cli#2972 and #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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions