code: def _create_pipeline_parser():
    
    parser = google.datalab.utils.commands.CommandParser(
        prog='%pipeline', description="""
  Execute various pipeline-related operations. Use "%pipeline <command> -h"
  for help on a specific command.
    """)
  
    # %%pipeline create
    _add_command(parser, _create_create_subparser, _create_cell)
  
    return parser
docs: Create the parser for the %pipeline magics.
  
      Note that because we use the func default handler dispatch mechanism of
      argparse, our handlers can take only one argument which is the parsed args. So
      we must create closures for the handlers that bind the cell contents and thus
      must recreate this parser for each cell upon execution.