Skip to content

Missing upload-dir prefix-paths arg #4

Description

@jurrejelle

In the README you say there's

kb-manager upload-dir . --kb-id <id> --prefix-paths

but the actual arguments don't have that:


@cli.command()
@click.argument("directory_path", type=click.Path(exists=True, file_okay=False, resolve_path=True))
@click.option("--kb-id", required=True, help="ID of the knowledge base to add the files to.")
@click.option(
    "--ignore-file",
    type=click.Path(exists=True, dir_okay=False, resolve_path=True),
    help="Path to a .kbignore file. Defaults to .kbignore in the directory_path if not specified.",
)
@click.pass_obj
@coro

Is this something that's already in but I haveto enable somehow?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions