Skip to content

[FEATURE] Allow piping into semver to read version #149

Open
@felixfbecker

Description

@felixfbecker

It would be very nice if we could do this:

node -v | semver -r ^5.4

Of course one could do semver $(node -v) but that only works in sh and not on Windows, which makes it bad for npm scripts.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Enhancementnew feature or improvementclireferencing the semver cli

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions