Files
myagents/bin/commands/__init__.py
T
Zhengshou Lai af80ec1de0 fix(cli): remove invalid --cwd flag config and make upgrade a proper alias
- Remove is_flag=False + flag_value="." combination which has no effect
  on click option with is_flag=False (default)
- Create dedicated click.Command for upgrade instead of raw alias
  assignment, so help shows correct command name
2026-05-27 11:23:13 +08:00

14 lines
292 B
Python

"""CLI subcommands."""
import click
from .update import update_cmd
__all__ = ["update_cmd", "upgrade_cmd"]
@click.command("upgrade")
def upgrade_cmd() -> None:
"""Alias for update: reinstall myclaude from this repository."""
return click.get_current_context().invoke(update_cmd)