code: def step_command(
      self,
      executable,
      script,
      step_name,
      top_kwargs=None,
      step_kwargs=None,
  ):
      cmd = [executable, "-u", script]
      if top_kwargs is None:
          top_kwargs = self._top_kwargs
      if step_kwargs is None:
          step_kwargs = self._step_kwargs
  
      top_args_list = list(self._options(top_kwargs))
      cmd.extend(top_args_list)
      cmd.extend(["step", step_name])
      step_args_list = list(self._options(step_kwargs))
      cmd.extend(step_args_list)
  
      return cmd
  
file_path: metaflow/metaflow/cli_args.py
imports: from .util import to_unicode
label_desc: Use image node_id 6 for calling the CLIArgs obj's underlying member method code with example usage: obj.step_command(executable, script, step_name, top_kwargs, step_kwargs) and returns: cmd