Allow addition of command line arguments for generated code #1340
Replies: 4 comments 2 replies
-
|
@jaypatrick you can update the
When you have a kiota-json.lock file, you can right click on it and generate code
|
Beta Was this translation helpful? Give feedback.
-
|
I don't think anyone uses this feature. It's been there since Kiota started producing the kiota-lock.json file upon code generation. Let me see if it even still works |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
|
Thanks for the updates, I appreciate it. |
Beta Was this translation helpful? Give feedback.



Uh oh!
There was an error while loading. Please reload this page.
-
It would be nice if we could specify (or override the default) command line arguments. Specifically in this case, the Kiota generator so that parameters like --backing-store|-b can be added to the generated code. Or, provide UI elements in the options page to provide the parameters (e.g. a checkbox for bools like backing-store, etc).
Or, generate the CLI string and store it as a local file (add to gitignore) that can then be used to execute the generate command w/ the various arguments. There are a lot of Kiota CLI switches that are very useful, but the approach this package takes is a one-size-fits-all, which isn't flexible enough for most dev scenarios.
Beta Was this translation helpful? Give feedback.
All reactions