Skip to content

npx pressship publish returns "unknown command 'publish'" despite README documenting it #2

@liewcf

Description

@liewcf

Problem

I tried to publish a local WordPress plugin using the documented publish command, but the CLI returned an unknown command error.

Command I ran

npx pressship publish ./enjinmel-smtp

Actual result

error: unknown command 'publish'

Expected result

Based on the README, I expected pressship publish to run the publish flow for the plugin path.

The README currently shows:

npx pressship publish ./my-plugin

and also lists pressship publish under Commands.

Environment

  • OS: macOS
  • Node.js version: v24.3.0
  • npm version: 11.12.1
  • Pressship command used through: npx pressship
  • Plugin path: ./enjinmel-smtp

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions