Skip to content

Call global script with NpmExec #183

Description

@fdw

I'd like to call a globally installed script with NpmExec. If called directly, it would be npm exec <package> --global -- <args>.
However, NpmExecSettings doesn't allow setting --global with a flag. Neither can I add it to the Arguments, as they are prepended with --.

Would it be possible to add a Global flag to NpmExecSettings?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions