I am trying to design a command-line interface in golang based on the cobra package which mimics the functionalities available in the user interface. I am facing a problem w