There are many Swift frameworks to make nice CLI tools out there, and with property wrappers they are nicer than ever before. I haven't tried https://github.com/jakeheis/SwiftCLI but the fact that generates zsh completions is really cool! I wish it was a default on many tools!