24 from lsst.daf.butler.cli.opt
import repo_argument, config_option, config_file_option, run_option
25 from lsst.daf.butler.cli.utils
import cli_handle_exception
26 from ...script
import ingestRaws
30 @repo_argument(required=
True)
33 @run_option(required=
True)
34 @click.option(
"-d",
"--dir",
"directory",
35 help=
"The path to the directory containing the raws to ingest.")
36 @click.option(
"-f",
"--file", help=
"The name of a file containing raws to ingest.")
37 @click.option(
"-t",
"--transfer", help=
"The external data transfer type.", default=
"auto")
38 @click.option(
"--ingest-task", default=
"lsst.obs.base.RawIngestTask", help=
"The fully qualified class name "
39 "of the ingest task to use.")
41 cli_handle_exception(ingestRaws, *args, **kwargs)