Did you know that CLI tools can add interaction with the readLine() method?

In this post, we show to use it, and with a bonus: building a property wrapper that can encapsulate the logic and store the returned input.

https://swifttoolkit.dev/posts/cli-question

Supporting Interactive Input in CLI Tools Using Property Wrappers

How to use Property Wrappers to make the readLine() method more reusable in your tools