mirror of
https://github.com/qurator-spk/page2tsv.git
synced 2026-03-15 19:52:04 +01:00
install into qurator namespace
This commit is contained in:
parent
abeca0df16
commit
e1a440b91c
10 changed files with 17 additions and 12 deletions
14
qurator/tsvtools/ocrd_cli.py
Normal file
14
qurator/tsvtools/ocrd_cli.py
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
import click
|
||||
from ocrd.decorators import ocrd_cli_options, ocrd_cli_wrap_processor
|
||||
|
||||
from .ocrd_processors import OcrdNeatExportProcessor, OcrdNeatImportProcessor
|
||||
|
||||
@click.command()
|
||||
@ocrd_cli_options
|
||||
def export_cli(*args, **kwargs):
|
||||
return ocrd_cli_wrap_processor(OcrdNeatExportProcessor, *args, **kwargs)
|
||||
|
||||
@click.command()
|
||||
@ocrd_cli_options
|
||||
def import_cli(*args, **kwargs):
|
||||
return ocrd_cli_wrap_processor(OcrdNeatImportProcessor, *args, **kwargs)
|
||||
Loading…
Add table
Add a link
Reference in a new issue