[bugreport] --minimal to restrict the attachments to inspect.json

* if run from the target shell, the output of `bugreport` can be quite large
(logs, inspect, etc.). `bugreport --minimal` preserves the annotations and
the Inspect data, but skips the logs and build snapshot, which can be quite large.
* we add support for command-line option parsing and its own unit test

DX-1678 #done #comment

TESTED=`fx run-test bugreport_tests`
TESTED=`fx bugreport`
TESTED=`bugreport --minimal`
TESTED=`bugreport --help`
TESTED=`bugreport help`

Change-Id: Ibbdfd57fd6149286f218de0cdda87dc2c271369c
11 files changed
tree: f9c1c570805957e8d9d3a00e0978060f68c98ed0
  1. boards/
  2. build/
  3. buildtools/
  4. bundles/
  5. docs/
  6. examples/
  7. garnet/
  8. peridot/
  9. products/
  10. scripts/
  11. sdk/
  12. src/
  13. third_party/
  14. tools/
  15. zircon/
  16. .clang-format
  17. .clang-tidy
  18. .dir-locals.el
  19. .gitattributes
  20. .gitignore
  21. .gn
  22. AUTHORS
  23. BUILD.gn
  24. CODE_OF_CONDUCT.md
  25. CONTRIBUTING.md
  26. LICENSE
  27. OWNERS
  28. PATENTS
  29. README.md
  30. rustfmt.toml
README.md

Fuchsia

Pink + Purple == Fuchsia (a new operating system)

What is Fuchsia?

Fuchsia is a modular, capability-based operating system. Fuchsia runs on modern 64-bit Intel and ARM processors.

Fuchsia is an open source project with a code of conduct that we expect everyone who interacts with the project to respect.

How can I build and run Fuchsia?

See Getting Started.

Where can I learn more about Fuchsia?

See the documentation.