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

Allow running without a configuration file, and add mnemonics -i / -o for --input / --output #2

Closed
gilsdav opened this issue Mar 22, 2019 · 1 comment
Labels
enhancement New feature or request

Comments

@gilsdav
Copy link

gilsdav commented Mar 22, 2019

Hello, is it possible to have same CLI options as ng-swagger-gen ?
I want to use same config only by switching the library.

I want to use it like this : ng-openapi-gen --gen-confi -i https://gist.githubusercontent.com/kinlane/43934f44fd591a6ee59a45267d9e3066/raw/47f6d7115dd17749c408c55861638ffc22d995f4/sample-openapi-30.yaml -o ./src/api -c ng-swagger-gen-api.json

Thank's in advance.

@luisfpg luisfpg added the enhancement New feature or request label Mar 22, 2019
@luisfpg
Copy link
Contributor

luisfpg commented Mar 22, 2019

The command-line arguments in come directly from the options JSON schema.
I could, however, add a mapping for some shorter mnemonics for the input and output options, would be handy.

@luisfpg luisfpg changed the title Same options as ng-swagger-gen Allow running without a configuration file, and add mnemonics -i / -o for --input / --output Mar 22, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants