[roll] Roll fuchsia [dash-launcher] Add inline commands to explore

As a partial step toward enabling scripting in component explore,
this CL adds a `-c <command> parameter to `ffx component explore`,
enabling commands to be executed directly by the Dash shell on the
target.

When a `-c` command is given, ffx returns immediately after running
the command and does not enter interactive mode

Example:
$ ffx component explore /bootstrap/archivist -c "ls exposed"
diagnostics
fuchsia.diagnostics.ArchiveAccessor
fuchsia.diagnostics.FeedbackArchiveAccessor
fuchsia.diagnostics.LegacyMetricsArchiveAccessor
fuchsia.diagnostics.LoWPANArchiveAccessor
fuchsia.diagnostics.LogSettings
fuchsia.logger.Log
fuchsia.logger.LogSink

Limitations:
• The exit status after executing a command is the exit status of the
  explore command, not the exit status of the executed command.

  The executed command's exit status can be obtained by echoing it as
  part of the command string. Eg:

    $ ffx component explore /bootstrap/archivist 'rm no_such_file; echo $?'
    rm: lstat no_such_file: No such file or directory
    1

  This issue is tracked in fxb/104633

Original-Bug: 104305
Original-Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/700627
Original-Revision: fac225141ab884e77bc538cc578e159db1803d6f
GitOrigin-RevId: 1afda6f767b5b9018bbfa76dbe295c9791f9ef21
Change-Id: I3fc0ddafaca2b0c9ac691c0548a01e8930d25318
1 file changed
tree: 1c67d9ccb54273e4424ce908e67f7dd8d6b9fdfb
  1. infra/
  2. third_party/
  3. cts
  4. firmware
  5. flower
  6. jiri.lock
  7. minimal
  8. prebuilts
  9. README.md
  10. stem
  11. test_durations
  12. toolchain
README.md

Integration

This repository contains Fuchsia's Global Integration manifest files.

Making changes

All changes should be made to the internal version of this repository. Our infrastructure automatically updates this version when the internal one changes.

Currently all changes must be made by a Google employee. Non-Google employees wishing to make a change can ask for assistance via the IRC channel #fuchsia on Freenode.

Obtaining the source

First install Jiri.

Next run:

$ jiri init
$ jiri import minimal https://fuchsia.googlesource.com/integration
$ jiri update

Third party

Third party projects should have their own subdirectory in ./third_party.