generate cli  for key leaf variable