Exemplo n.º 1
0
 def configure_subparser(self, parser):
     PblCommand.configure_subparser(self, parser)
     parser.add_argument('--phone', type=str, default=os.getenv(PEBBLE_PHONE_ENVVAR),
             help='The IP address or hostname of your phone - Can also be provided through PEBBLE_PHONE environment variable.')
     parser.add_argument('--pebble_id', type=str, default=os.getenv(PEBBLE_ID_ENVVAR),
             help='Last 4 digits of the MAC address of your Pebble - Can also be provided through PEBBLE_ID environment variable.')
     parser.add_argument('--verbose', type=bool, default=False, help='Prints received system logs in addition to APP_LOG')
Exemplo n.º 2
0
 def configure_subparser(self, parser):
     PblCommand.configure_subparser(self, parser)
     parser.add_argument('--phone', type=str,
             help='When using Developer Connection, the IP address or hostname of your phone. Can also be provided through %s environment variable.' % PEBBLE_PHONE_ENVVAR)
     parser.add_argument('--pebble_id', type=str,
             help='When using a direct BT connection, the watch\'s Bluetooth ID (e.g. DF38 or 01:23:45:67:DF:38). Can also be provided through %s environment variable.' % PEBBLE_BTID_ENVVAR)
     parser.add_argument('--pair', action="store_true", help="When using a direct BT connection, attempt to pair the watch automatically")
     parser.add_argument('--verbose', type=bool, default=False, help='Prints received system logs in addition to APP_LOG')
Exemplo n.º 3
0
 def configure_subparser(self, parser):
     PblCommand.configure_subparser(self, parser)
     parser.add_argument('elf_path',
                         type=str,
                         nargs='?',
                         help='Path to the elf file to analyze')
     parser.add_argument('--summary',
                         action='store_true',
                         help='Display a single line per section')
     parser.add_argument('--verbose',
                         action='store_true',
                         help='Display a per-symbol breakdown')
 def configure_subparser(self, parser):
     PblCommand.configure_subparser(self, parser)
     parser.add_argument('--phone', type=str,
             help='When using Developer Connection, the IP address or hostname of your phone. Can also be provided through %s environment variable.' % PEBBLE_PHONE_ENVVAR)
     parser.add_argument('--pebble_id', type=str,
             help='When using a direct BT connection, the watch\'s Bluetooth ID (e.g. DF38 or 01:23:45:67:DF:38). Can also be provided through %s environment variable.' % PEBBLE_BTID_ENVVAR)
     parser.add_argument('--qemu', type=str,
             help='Use this option to connect directly to a qemu instance. You must provide the hostname:port. This can also be provided through %s environment variable.' % PEBBLE_QEMU_ENVVAR)
     parser.add_argument('--emulator', type=str, choices=['aplite', 'basalt'],
             help='Use this option to specify which HW platform to run in the emulator. The emulator is automatically started if needed. You must provide a HW platform when specifying this option. You can also set a default HW platform via the %s environment variable.' 
                     % PEBBLE_PLATFORM_ENVVAR)
     parser.add_argument('--pair', action="store_true", help="When using a direct BT connection, attempt to pair the watch automatically")
     parser.add_argument('--verbose', action="store_true", default=False,
                         help='Prints received system logs in addition to APP_LOG')
     parser.add_argument('--debug-phonesim', action='store_true',
             help='Enable verbose debugging output for the phone simulator (requires --debug).')
Exemplo n.º 5
0
 def configure_subparser(self, parser):
     PblCommand.configure_subparser(self, parser)
     parser.add_argument(
         '--phone',
         type=str,
         help=
         'When using Developer Connection, the IP address or hostname of your phone. Can also be provided through %s environment variable.'
         % PEBBLE_PHONE_ENVVAR)
     parser.add_argument(
         '--pebble_id',
         type=str,
         help=
         'When using a direct BT connection, the watch\'s Bluetooth ID (e.g. DF38 or 01:23:45:67:DF:38). Can also be provided through %s environment variable.'
         % PEBBLE_BTID_ENVVAR)
     parser.add_argument(
         '--qemu',
         type=str,
         help=
         'Use this option to connect directly to a qemu instance. You must provide the hostname:port. This can also be provided through %s environment variable.'
         % PEBBLE_QEMU_ENVVAR)
     parser.add_argument(
         '--emulator',
         type=str,
         choices=['aplite', 'basalt'],
         help=
         'Use this option to specify which HW platform to run in the emulator. The emulator is automatically started if needed. You must provide a HW platform when specifying this option. You can also set a default HW platform via the %s environment variable.'
         % PEBBLE_PLATFORM_ENVVAR)
     parser.add_argument(
         '--pair',
         action="store_true",
         help=
         "When using a direct BT connection, attempt to pair the watch automatically"
     )
     parser.add_argument(
         '--verbose',
         action="store_true",
         default=False,
         help='Prints received system logs in addition to APP_LOG')
     parser.add_argument(
         '--debug-phonesim',
         action='store_true',
         help=
         'Enable verbose debugging output for the phone simulator (requires --debug).'
     )
Exemplo n.º 6
0
 def configure_subparser(self, parser):
     PblCommand.configure_subparser(self, parser)
     parser.add_argument(
         '--phone',
         type=str,
         default=os.getenv(PEBBLE_PHONE_ENVVAR),
         help=
         'The IP address or hostname of your phone - Can also be provided through PEBBLE_PHONE environment variable.'
     )
     parser.add_argument(
         '--pebble_id',
         type=str,
         default=os.getenv(PEBBLE_ID_ENVVAR),
         help=
         'Last 4 digits of the MAC address of your Pebble - Can also be provided through PEBBLE_ID environment variable.'
     )
     parser.add_argument(
         '--verbose',
         type=bool,
         default=False,
         help='Prints received system logs in addition to APP_LOG')
Exemplo n.º 7
0
 def configure_subparser(self, parser):
     PblCommand.configure_subparser(self, parser)
     parser.add_argument('elf_path', type=str, nargs='?', default='build/pebble-app.elf',
             help='Path to the elf file to analyze')
     parser.add_argument('--summary', action='store_true', help='Display a single line per section')
     parser.add_argument('--verbose', action='store_true', help='Display a per-symbol breakdown')
Exemplo n.º 8
0
 def configure_subparser(self, parser):
     PblCommand.configure_subparser(self, parser)
Exemplo n.º 9
0
 def configure_subparser(self, parser):
     PblCommand.configure_subparser(self, parser)