code: def run_with_args(args):
      
      parser = argparse.ArgumentParser(description='StreamSets Data Collector tools.')
      subparsers = parser.add_subparsers(help='sdc-tool')
  
      define_pipeline_args(subparsers)
      define_system_args(subparsers)
  
      args = parser.parse_args(args=args)
      result = args.func(args)
      return result
docs: Main script entry point.