diff --git a/camelot/cli.py b/camelot/cli.py index 0298992..1a7c0be 100644 --- a/camelot/cli.py +++ b/camelot/cli.py @@ -237,6 +237,13 @@ def lattice(c, *args, **kwargs): multiple=True, help="X coordinates of column separators.", ) +@click.option( + "-R", + "--rows", + default=[], + multiple=True, + help="Y coordinates of rows separators.", +) @click.option( "-e", "--edge_tol", @@ -282,6 +289,8 @@ def stream(c, *args, **kwargs): kwargs["table_areas"] = None if not table_areas else table_areas columns = list(kwargs["columns"]) kwargs["columns"] = None if not columns else columns + rows = list(kwargs["rows"]) + kwargs["rows"] = None if not rows else rows if plot_type is not None: if not _HAS_MPL: