Adding CLI support for Postman import
See original GitHub issueFollowing 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?
Issue Analytics
- State:
- Created 4 years ago
- Reactions:1
- Comments:6 (6 by maintainers)
Top Results From Across the Web
import collections programatically into Postman app. #4053
I would like to create a script, that will fetch a couple of Postman collections from multiple sources and automatically import them to...
Read more >Importing and exporting data | Postman Learning Center
How to Import and Export Data in Postman · Postman | How to Connect to Your Git Repository · Integrating GitLab in Postman's...
Read more >Running collections on the command line with Newman
Newman: run and test your collections from the command line. Case Studies. SEI Novus. Next Steps. Intro to the Postman API.
Read more >Importing data files | Postman Learning Center
Importing data files. You can use data files to pass Postman sets of values to use in a collection run. By selecting a...
Read more >CI with Postman API
What is Postman? API repository · Tools · Governance · Workspaces · Integrations · Enterprise · Plans and pricing · Download the app...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@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
@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
karate-netty
CLI.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
-d
is an example where it is useful for both Maven / Gradle and fat-jar users.