nps icon indicating copy to clipboard operation
nps copied to clipboard

Support colon as a path field delimiter

Open cursedcoder opened this issue 6 years ago • 0 comments

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.

cursedcoder avatar Dec 08 '19 11:12 cursedcoder