Skip to content

Commit

Permalink
cli_apps: small refinement
Browse files Browse the repository at this point in the history
  • Loading branch information
Abdullah-Albanna authored Oct 13, 2024
1 parent 63c6466 commit 6fb88c0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions pymobiledevice3/cli/apps.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,10 @@ def uninstall(service_provider: LockdownClient, bundle_id):


@apps.command('install', cls=Command)
@click.argument('ipa_or_app_or_ipcc_path', type=click.Path(exists=True))
def install(service_provider: LockdownServiceProvider, ipa_or_app_or_ipcc_path: str) -> None:
""" install given .ipa/.app or .ipcc """
InstallationProxyService(lockdown=service_provider).install_from_local(ipa_or_app_or_ipcc_path)
@click.argument('package', type=click.Path(exists=True))
def install(service_provider: LockdownServiceProvider, package: str) -> None:
""" install given .ipa/.app/.ipcc """
InstallationProxyService(lockdown=service_provider).install_from_local(package)


@apps.command('afc', cls=Command)
Expand Down

0 comments on commit 6fb88c0

Please sign in to comment.