Skip to content

Plugin already installed/active should be notice rather than warnings #34

@drzraf

Description

@drzraf

$ wp plugin install wordpress-importer --activate

  Activating 'wordpress-importer'...
  Success: Plugin already installed.

  Warning: wordpress-importer: Plugin already installed.
  Warning: Plugin 'wordpress-importer' is already active.

Warning is not correct. The WP installation is in the state we expected to find it (although our requested operation wasn't needed). If double installation/activation intent do not hurt [eg no double-execution of install() function], then it should not be treated as a warning, but simply a notice.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions