Skip to content

How to use print-env vs has-env when running via npx #6

@bahmutov

Description

@bahmutov

If we don't want to install first, can we say

npx @bahmutov/print-env GOO

and print variables that start with GOO? Right now it switches to has-env automatically and just prints

GOO1: true

work-around for now

npm install @bahmutov/print-env
npx print-env GOO

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions