pw_cmd: Support multiple build directories

This change extends 'pw watch' to support watching multiple build
directories. It also switches the command handling to use argparse's
native subcommand handling.

Example use:

  pw watch --build_dir out-clang --build_dir out-arm-cortex-m4-gcc

Example output:

PW - 2019-11-19 19:27:03 - INFO - [2/2] Finished build: out-arm-cortex-m4-gcc
PW - 2019-11-19 19:27:03 - INFO - Finished; all successful.

 .------------------------------------
 |
 |   OK     build: out-clang
 |   OK     build: out-arm-cortex-m4-gcc
 |
 '------------------------------------

  ██████╗  █████╗ ███████╗███████╗██╗
  ██╔══██╗██╔══██╗██╔════╝██╔════╝██║
  ██████╔╝███████║███████╗███████╗██║
  ██╔═══╝ ██╔══██║╚════██║╚════██║╚═╝
  ██║     ██║  ██║███████║███████║██╗
  ╚═╝     ╚═╝  ╚═╝╚══════╝╚══════╝╚═╝

Change-Id: Iecefffa8a2dfb2e69fb64bfd616d71b71c93f3ee
1 file changed
tree: 2bee1e5678fcb49eaf3f9aaef1ec4b701ef42819
  1. docs/
  2. pw_bloat/
  3. pw_build/
  4. pw_cmd/
  5. pw_docgen/
  6. pw_dumb_io/
  7. pw_dumb_io_baremetal_stm32f429/
  8. pw_dumb_io_stdio/
  9. pw_preprocessor/
  10. pw_span/
  11. pw_status/
  12. pw_string/
  13. pw_toolchain/
  14. pw_unit_test/
  15. targets/
  16. .clang-format
  17. .gitignore
  18. .gn
  19. AUTHORS
  20. BUILD
  21. BUILD.gn
  22. BUILDCONFIG.gn
  23. CONTRIBUTING.md
  24. LICENSE
  25. modules.gni
  26. presubmit.py
  27. pw_vars_default.gni
  28. README.md
  29. WORKSPACE
README.md

Pigweed embedded oriented software libraries

Pigweed is a collection of embedded-focused libraries, which we call "modules". These modules are designed for small-footprint MMU-less microcontrollers like the ST Micro STM32L452 or the Nordic NRF82832. The modules are designed to facilitate easy integration into existing codebases.

Pigweed is in the early stages of development.