Don't hard-code usage string in mojo_run.

This easily gets out of date - e.g. it contains a '--sky' flag that went
away when the repos split and does not contain most of the actual script
arguments. Instead, describe notable shell arguments in the description
string and allow argparse to generate USAGE.

R=qsr@chromium.org

Review URL: https://codereview.chromium.org/1343933003 .

Cr-Mirrored-From: https://github.com/domokit/mojo
Cr-Mirrored-Commit: fa3d04fd42c795a12aeaf07910b03e5708813e8b
1 file changed
tree: e0d2e9406e3b642fc1ec7add10097277746c5bf2
  1. android_gdb/
  2. android_stack_parser/
  3. devtoolslib/
  4. docs/
  5. .gitignore
  6. mojo_benchmark
  7. mojo_debug
  8. mojo_run
  9. mojo_test
  10. README.md
  11. remote_adb_setup
README.md

Devtools

Unopinionated tools for running, debugging, testing and benchmarking Mojo apps.

Install

git clone https://github.com/domokit/devtools.git

Contents

Devtools offers the following tools:

Additionally, remote_adb_setup script helps to configure adb on a remote machine to communicate with a device attached to a local machine, forwarding the ports used by mojo_run.

Development

The library is canonically developed in the mojo repository, https://github.com/domokit/devtools is a mirror allowing to consume it separately.