Niels Segers

Full Stack Developer at delta.app


Supdock 2.0

After some hard work and eye for clean code I have finished the Typescript rework of Supdock. As I already said in my previous post, the most important part of the entire rework was to get the code base on an acceptable level for other people to read. Which was totally not the case with the older versions of the tool. It took me a while to think of a clean way to replace commander with my own way of writing a clean wrapper around docker. The issue with commander was that it always complained about unknown flags whenever I added a custom command because it parses the flags for you. So using it for something like Supdock was more of a burden than it was helping me. Feel free to test it out for yourself or go have a look in the code!

Written by Niels Segers