If the code and release information is all you want, there is a link for the GitHub repo at the end of this story.

Planning

Now that I know a CLI tool is the way to go for me, I had to lay out the features I wanted and adjust my priorities.

Remove an entry of the YAML file interactively; Remove from a YAML file other than the default; Remove a resource that I already know the name of; Remove multiple entries in the YAML file;

“Cool, that is exactly what I need for now! Where do I want to run this? It would be nice to run this on Windows, Linux and MacOS… That is an excellent opportunity to stretch my Python muscles here!” — Me when I realized I was really going to do this.

The compatibility of this tool is essential. You can operate on K8s from virtually any platform, so should this software. I have not honestly spent much time on the decision of the tools, Python was already in my mind, and I already knew a great python package called Click to help me create CLI tools. That would be the fastest path for creating my software.

Let’s check what we have thus far:

Platforms where this is going to run;

Language and packages I’m going to use;

Primary functionalities of the application;

That seems like a good start! Let's create our GitHub repo: