Skip to content

vp cli support --if-present #2556

Description

@jurijzahn8019

Description

Hello i would like to have the possibility to ignore missing script/task by using

--if-present flag.

What is the intended way to do it?

Should is prefer to use vp pm run?

Thank you

Suggested solution

Add --if-present flag to run command

Alternative

use pm command
however pm does not support run command

Additional context

No response

Validations

  • Read the Contributing Guidelines.
  • Confirm this request is for Vite+ itself and not for Vite, Vitest, tsdown, Rolldown, or Oxc.
  • Check that there isn't already an issue requesting the same feature.

Metadata

Metadata

Assignees

No one assigned

    Fields

    Priority

    None yet

    Start date

    None yet

    Target date

    None yet

    Effort

    None yet

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions