Skip to content

How to build and run the main branch? #292

@myrho

Description

@myrho

I try to use this generator from the unreleased main branch but I can't make it.

git clone https://github.com/wolfadex/elm-open-api-cli
cd elm-open-api-cli
npm install
npm run build
node dist/elm-open-api.js openapi.json 

Result:

-- Invalid CLI arguments ---------------
Could not match arguments.

Usage:

TODO - show error message explaining that user needs to pass unmodified `process.argv` from node here. <entryFilePath> [--output-dir <OUTPUT_DIR>] [--module-name <MODULE_NAME>] [--effect-types <EFFECT_TYPES>] [--server <SERVER>] [--auto-convert-swagger <AUTO_CONVERT_SWAGGER>] [--swagger-conversion-url <SWAGGER_CONVERSION_URL>] [--swagger-conversion-command <SWAGGER_CONVERSION_COMMAND>] [--swagger-conversion-command-args <SWAGGER_CONVERSION_COMMAND_ARGS>]... [--generateTodos] [--overrides <OVERRIDES>]... [--write-merged-to <WRITE_MERGED_TO>] [--no-elm-format] [--keep-going]

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingdependenciesPull requests that update a dependency file

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions