code: def manage_config(cmd, *args):
      
      if cmd == "file":
          print(config.config_file)
      elif cmd == "show":
          with open(config.config_file) as f:
              print(f.read())
      elif cmd == "generate":
          fname = os.path.join(
                  user_config_dir("genomepy"), "{}.yaml".format("genomepy")
              )
          
          if not os.path.exists(user_config_dir("genomepy")):
              os.makedirs(user_config_dir("genomepy"))
          
          with open(fname, "w") as fout:
              with open(config.config_file) as fin:
                  fout.write(fin.read())
          print("Created config file {}".format(fname))
docs: Manage genomepy config file.