Commit Graph

29 Commits

Author SHA1 Message Date
anthony 58e6157f40 Some refactorings related to main Processor class 2024-08-09 12:21:39 +08:00
anthony e5dad3f2d6 Fixed execution without params 2024-07-08 00:14:37 +08:00
anthony 47930b010f Introducing settings file, some refactorings and stabilization 2024-07-07 23:44:59 +08:00
anthony 5666702ccc Error stacktrace with --dev enabled while conversion is in progress
Also shorter constants.
2023-10-03 09:05:03 +08:00
anthony 771fe4931a Bump version 2023-09-18 00:40:23 +08:00
anthony c6bdcfe7cc New flag --all, corrections in --help and README 2023-09-18 00:39:33 +08:00
anthony 01d29ee023 Initial and very naive conversion v2.0 => v2.1 (#10) 2023-09-17 23:59:37 +08:00
anthony 3c1871ce1f Conversion to 2.0 (--v2.0), improvements and fixes (#10)
First of all, now you can convert a collection manually exported from Postman UI.

Until this commit, any collection json had to be inside of root 'collection' object. Postman API returns collections in a such way and that was my case. So any collection exported using UI was mistakenly not detected as correct one.

The second thing that it is now possible to convert collections from v2.1 to v2.0 using --v2.0 flag. Even if they are exported via Postman API, of course.

Also some important refactorings are here.
2023-09-17 23:09:19 +08:00
anthony 5c85f23514 Bump version 2023-09-10 15:58:31 +08:00
anthony 1dc5f7deaf Bump version 2023-09-10 15:31:41 +08:00
anthony 0b4317f56a Introducing --var and some improvements in variables interpolation
- now you can override any env variable, see README to find out how --var works
- improvements around env and vars storage
- some tiny ram optimizations in Processor (not sure if it useful nor necessary, actually)
2023-09-10 15:28:09 +08:00
anthony da763a5a2f Bump version 2023-09-10 09:14:03 +08:00
anthony 1345b7eddb Refactorings
- important curl and wget improvements
- initial test coverage
- setters and getters in Request classes
- namespace fixes
- some additions in README
- docblocks and code-style
2023-09-10 09:03:54 +08:00
anthony af9c360684 Bump version 2023-08-13 23:43:21 +08:00
anthony 44f437eaf3 Misc edits in texts and output 2023-08-13 23:42:24 +08:00
anthony 9b021296eb Bump version 2023-08-13 23:11:52 +08:00
anthony 25887a47d3 Bump version 2023-08-13 11:02:59 +08:00
anthony 1f7816c917 When env was no set then dont try to collect vars from it
(cherry picked from commit fa8ad15fdd691fb4ea5db431062e89b512a9d526)
2023-08-13 11:02:08 +08:00
anthony c6094566b4 Fixed error when -o is missied 2023-08-13 10:50:52 +08:00
anthony 40cc852328 Bump version 2023-08-13 10:26:46 +08:00
anthony c4961b1238 Several cool features
- replace vars from collection by default
- replace vars from environment file with -e
- bearer auth header
2023-08-13 10:26:22 +08:00
anthony c630af8795 Little output edit to prepare to some in-progress messages 2023-08-10 15:44:21 +08:00
anthony 2081aa935a Bump version 2023-08-10 13:31:23 +08:00
anthony 1b3dd8b677 Improved detection of collections (affected on -f and -d) 2023-08-10 13:30:20 +08:00
anthony 9613697ada Fixed count bug 2023-08-09 21:31:08 +08:00
anthony b9c804b0f6 Bump version 2023-08-04 09:23:48 +08:00
anthony 882fbe4713 Time and RAM stats after conversion 2023-08-04 09:23:17 +08:00
anthony aa583e7d43 Fixed some mistakes while processing -d 2023-08-04 09:05:22 +08:00
anthony 3b94911895 First basic ready-to-use implementation 2023-08-03 16:43:17 +08:00