X-Git-Url: https://glassweightruler.freedombox.rocks/gitweb/waydroid.git/blobdiff_plain/91b8a0ffc678418ed07491e6f181de9bcf057c31..dd038eddd7ec11c6fbe37f9082b6215291e0537f:/tools/helpers/arguments.py diff --git a/tools/helpers/arguments.py b/tools/helpers/arguments.py index 2f3af66..b3182b9 100644 --- a/tools/helpers/arguments.py +++ b/tools/helpers/arguments.py @@ -123,6 +123,13 @@ def arguments_logcat(subparser): ret = subparser.add_parser("logcat", help="show android logcat") return ret +def arguments_adb(subparser): + ret = subparser.add_parser("adb", help="manage adb connection") + sub = ret.add_subparsers(title="subaction", dest="subaction") + sub.add_parser("connect", help="connect adb to the Android container") + sub.add_parser("disconnect", help="disconnect adb from the Android container") + return ret + def arguments(): parser = argparse.ArgumentParser(prog="waydroid") @@ -160,6 +167,7 @@ def arguments(): arguments_firstLaunch(sub) arguments_shell(sub) arguments_logcat(sub) + arguments_adb(sub) if argcomplete: argcomplete.autocomplete(parser, always_complete_options="long")