INNER CODE UNIT · Python

cmd_validate

ghost-in-the-droid/android-agent · gitd/cli.py:453

def cmd_validate(args):
    """Validate a skill directory."""
    target = Path(args.path).resolve()
    if not target.is_dir():
        logger.error("'%s' is not a directory.", args.path)
        return 1

    logger.info("Validating %s...", target)
    if _validate_skill_dir(target, verbose=True):
        logger.info("Validation passed.")
        return 0
    else:
        logger.error("Validation FAILED.")
        return 1


def cmd_search(args):
    """Search the registry by name/description."""

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…