code: def cli_parse(parser):
      parser.add_argument(
          "-l",
          "--levels",
          type=int,
          required=False,
          default=4,
          help="Number of grid levels \
                          (Morris only)",
      )
      parser.add_argument(
          "-k",
          "--k-optimal",
          type=int,
          required=False,
          default=None,
          help="Number of optimal trajectories \
                          (Morris only)",
      )
      parser.add_argument(
          "-lo",
          "--local",
          type=bool,
          required=True,
          default=False,
          help="Use the local optimisation method \
                          (Morris with optimization only)",
      )
      return parser
  
imports: import numpy
  from typing import Dict
  import numpy.random
  import warnings
  from .local import LocalOptimisation
  from .brute import BruteForce
  from .strategy import SampleMorris
  from SALib.sample import common_args
  from SALib.util import scale_samples, read_param_file, compute_groups_matrix, _define_problem_with_groups, _compute_delta, _check_groups
label_desc: Use image node_id 11 for calling a global function with example usage: cli_parse(parser) and returns: parser