INNER CODE UNIT · Python

handle_index_command

datachain-ai/datachain · src/datachain/cli/__init__.py:279

def handle_index_command(args, catalog):
    index(
        catalog,
        args.sources,
        update=bool(args.update),
    )


def handle_skill_command(args):
    import sys

    if args.skill_cmd is None:
        print(
            f"Use 'datachain {args.command} --help' to see available options",
            file=sys.stderr,
        )
        return 1

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…