code: def parse_command_line(self, argv):
      super(InstallKernelSpec, self).parse_command_line(argv)
      # accept positional arg as profile name
      if self.extra_args:
          self.sourcedir = self.extra_args[0]
      else:
          print("No source directory specified.")
          self.exit(1)
  
imports: from __future__ import print_function
  import errno
  import os.path
  import sys
  import json
  from traitlets.config.application import Application
  from jupyter_core.application import JupyterApp, base_flags, base_aliases
  from traitlets import Instance, Dict, Unicode, Bool, List
  from .None import __version__
  from .kernelspec import KernelSpecManager
label_desc: Use image node_id 3 for calling the InstallKernelSpec obj's underlying member method code with example usage: obj.parse_command_line(argv) without return types