Skip to content

analog_daddy.__main__

analog-daddy command-line interface.

ai(copy=False, destination=Path())

Displays the bundled agent skill directory and optionally copy it.

An AI agent should utilize it to reference the bundled agent skill without having to install it. Can optionally be installed into the provided directory.

Source code in src/analog_daddy/__main__.py
@app.command
def ai(copy: bool = False, destination: Path = Path()) -> None:
    """
    Displays the bundled agent skill directory and optionally copy it.

    An AI agent should utilize it to reference the bundled agent skill
    without having to install it. Can optionally be installed into the
    provided directory.
    """
    skill = files(__package__) / "clanker"
    console.print(f"Bundled skill directory: {skill}")
    if copy:
        target = destination / "analog-daddy"
        with as_file(skill) as source:
            copytree(
                source,
                target,
                ignore=ignore_patterns("__pycache__", "*.pyc", ".*"),
            )
        console.print(f"Copied skill to {target}")

main()

Console script for analog_daddy.

Source code in src/analog_daddy/__main__.py
@app.default
def main() -> None:
    """Console script for analog_daddy."""
    console.print(":construction: Construction in progress... :warning:")
    console.print("For agent skill discovery, run: analog_daddy ai --help")