input: Write a python function to create a command-line interface (CLI) that takes an argument for showing the version and another argument for displaying a cowboy greeting.
  assert main(["-V"]) == 0
  assert main(["-c"]) == 0
  assert main(["--version"]) == 0
  assert main(["--cowboy"]) == 0
output: def main(args):
      import argparse
  
      parser = argparse.ArgumentParser(description="A simple CLI tool")
      parser.add_argument("-V", "--version", action="store_true", help="Show version")
      parser.add_argument("-c", "--cowboy", action="store_true", help="Show cowboy greeting")
  
      parsed_args = parser.parse_args(args)
  
      if parsed_args.version:
          print("Version 1.0.0")
          return 0
      elif parsed_args.cowboy:
          print("Howdy, partner!")
          return 0
      else:
          parser.print_help()
          return 1