Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support colon as a path field delimiter #216

Open
cursedcoder opened this issue Dec 8, 2019 · 0 comments
Open

Support colon as a path field delimiter #216

cursedcoder opened this issue Dec 8, 2019 · 0 comments

Comments

@cursedcoder
Copy link

Problem description:
npx nps init -yml will take this:

    "infra:create": "node src/command/create.js",
    "infra:destroy": "node src/command/destroy.js",

And make this:

scripts:
  infra:
    create: node src/command/create.js
    destroy: node src/command/destroy.js

Now it's impossible to call it as previously: npx nps infra:create, but should be npx nps infra.create.

I personally find this breaking the logic.

Suggested solution:
Allow using : as path resolver.

@sezna sezna changed the title Support colon dotation command resolve Support colon as a path field delimiter Dec 9, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant