Skip to content

Trim 'dashicon-' from argument when scaffolding a post type #66

@danielbachhuber

Description

@danielbachhuber

wp scaffold post-type accepts --dashicon=<dashicon> as an argument.

If I enter --dashicon=dashicon-info as my command, it seems sensible to strip my entered 'dashicon-' such that the end result is 'dashicon-info', not 'dashicon-dashicon-info'.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions