About the "completion" default command created by cobra

Exercism CLI uses cobra, a go library to build the modern CLI interactions.

While most of the commands like download, test, and submit are created by exercism, a special command completion is created by cobra automatically. (Check it with exercise --help.)

Depending on the intention of maintainer team, the completion default command can

  • either be disabled (see cobra doc)
  • or be indeed used to generate Shell completions to replace current completions, which may need some adaption on the command implementation, see cobra docs.