-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Adding CLI support for Postman import #1008
Comments
@Celeo thanks for asking
feel free to ask more questions |
Great, thanks for the info. I had come across the second CLI in the karate-netty package when searching for the main method, but figured I'd stick to the one you linked in #1004 unless otherwise noted. |
@Celeo yes I had missed it, it struck me later that a postman import is one of those things that makes more sense for the fat-jar, since anyone who is working with the maven jar would have been doing it via code like you were. so I would actually prioritize the but the reason I think it makes sense in both places is because the VS Code plugin is really catching on and the debug CLI |
@ptrthomas , @Celeo just wanted to understand the proposal here for postman import via CLI. is it going to be an import flag for existing CLI like,
or a subcommand that can support different imports from CLI
|
@babusekaran good question, to be honest I have not explored picocli subcommands yet. I leave it to @Celeo - either one is fine for me. IMO the file extension should be a good enough indicator of the type of import - in case we support more than postman in the future |
Went with |
Following up with #1004, this is a ticket for https://github.com/intuit/karate/projects/3#card-22529475: adding Postman import to Karate.
Like @ptrthomas mentioned, adding a CLI flag to switch on the behavior is simple. Where, though, should the (very little) logic for this functionality live? Inside
com.intuit.karate.cli.Main
, or should another CLI "utility" class?The text was updated successfully, but these errors were encountered: