code: def get_header(cls, script_text="", executable=None):
          
          cmd = cls.command_spec_class.best().from_param(executable)
          cmd.install_options(script_text)
          return cmd.as_header()
docs: Create a #! line, getting options (if any) from script_text