[roll] Roll fuchsia [ffx] Allow overriding ffx's command name.

This change makes it so that ffx can read an environment variable for a
command name override, letting it show useful help when invoked as
`fx ffx` in tree or `tools/ffx` in the sdk, while allowing the normal
behaviour as before otherwise.

Also broke down the copy/pasted code from argh and made it a bit more
testable so I could verify this behaviour in tests.

Original-Bug: 101039

Original-Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/699982
Original-Revision: f42f2a0398d5c1f3aa8007fae9161fca80ab2f0a
GitOrigin-RevId: 04c6b2b7f3d6a5b2d7e9a661f73089c19b0eea60
Change-Id: I28cd0a3543ca5a332eac6f5efaeb1d50f36eb194
1 file changed
tree: aabd14b9d8032fd014ca289fc8702842cefa24f3
  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.