Skip to content

[ENH] Support all CLI options in .nodegenerc #67

@p-mcgowan

Description

@p-mcgowan

What do you think?

instead of long lines and verbose package scripts, would be nice to just say generate:nodegen": "generate-it".

Then nodegen could just contain

{
  "nodegenDir": "src/http",
  "helpers": {
    "stub": {
      "requestType": "NodegenRequest"
    }
  },
  "confirm": true, // --yes
  "mocked": true,
  "templates": "github.com/p-mcgowan/burn-it-down",
  "inputSpec": "../swagger/build/api.yml"
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions