code: def _bse_cli_get_basis(args):
      '''Handles the get-basis subcommand'''
  
      return api.get_basis(
          name=args.basis,
          elements=args.elements,
          version=args.version,
          fmt=args.fmt,
          uncontract_general=args.unc_gen,
          uncontract_spdf=args.unc_spdf,
          uncontract_segmented=args.unc_seg,
          make_general=args.make_gen,
          optimize_general=args.opt_gen,
          data_dir=args.data_dir,
          header=not args.noheaderf _bse_cli_get_basis(args):
      '''Handles the get-basis subcommand'''
  
      return api.get_basis(
          name=args.basis,
          elements=args.elements,
          version=args.version,
          fmt=args.fmt,
          uncontract_general=args.unc_gen,
          uncontract_spdf=args.unc_spdf,
          uncontract_segmented=args.unc_seg,
          make_general=args.make_gen,
          optimize_general=args.opt_gen,
          data_dir=args.data_dir,
          header=not args.noheader)
docs: Handles the get-basis subcommand