code: def get_params_parser_create_dash():
      
  
      parser = argparse.ArgumentParser(usage="usage: e2k.py [options]",
                                       description="Create a Kibana dashboard from a template")
  
      ElasticOcean.add_params(parser)
  
      parser.add_argument("-d", "--dashboard", help="dashboard to be used as template")
      parser.add_argument("-i", "--index", help="enriched index to be used as data source")
      parser.add_argument("--kibana", dest="kibana_index", default=".kibana",
                          help="Kibana index name (.kibana default)")
      parser.add_argument('-g', '--debug', dest='debug', action='store_true')
  
      return parser
docs: Parse command line arguments