Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Support colon as a path field delimiter  #216

@cursedcoder

Description

@cursedcoder

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions