Skip to content

plugins.aea-dev-helpers.aea_dev_helpers.cli

CLI entry point for aea-dev-helpers.

cli

@click.group()
@click.version_option()
def cli() -> None

AEA development and release helper utilities.

publish_local_cmd

@cli.command("publish-local")
@click.option(
    "--package-dir",
    "-pd",
    type=click.Path(exists=True),
    default="./packages",
    help="Path to the packages directory.",
)
def publish_local_cmd(package_dir: str) -> None

Publish local packages to an IPFS node.

@cli.command("update-symlinks")
def update_symlinks_cmd() -> None

Update symlinks for the project (cross-platform).

bump_version_cmd

@cli.command("bump-version")
@click.option("--new-version", required=True, help="New AEA version string.")
@click.option(
    "-p",
    "--plugin-new-version",
    multiple=True,
    help=
    "Plugin version update in KEY=VALUE format (e.g. aea-ledger-ethereum=2.0.0).",
)
@click.option("--no-fingerprints",
              is_flag=True,
              help="Skip fingerprint updates.")
@click.option("--only-check",
              is_flag=True,
              help="Only check, do not modify files.")
def bump_version_cmd(new_version: str, plugin_new_version: Tuple[str, ...],
                     no_fingerprints: bool, only_check: bool) -> None

Bump AEA and plugin versions throughout the codebase.

deploy_registry_cmd

@cli.command("deploy-registry")
def deploy_registry_cmd() -> None

Push all packages to the registry in dependency order.

update_pkg_versions_cmd

@cli.command("update-pkg-versions")
@click.pass_context
def update_pkg_versions_cmd(ctx: click.Context) -> None

Interactive package version bumping with registry checks.

update_plugin_versions_cmd

@cli.command("update-plugin-versions")
@click.option(
    "--update",
    multiple=True,
    required=True,
    help=
    "Plugin update in NAME,VERSION format (e.g. aea-ledger-ethereum,2.0.0).",
)
@click.option("--no-fingerprint",
              is_flag=True,
              help="Skip fingerprint updates.")
def update_plugin_versions_cmd(update: Tuple[str, ...],
                               no_fingerprint: bool) -> None

Bump plugin versions and update version specifiers.