| commit | dfc15d4fe17e7230364cae84b458912285816fbf | [log] [tgz] |
|---|---|---|
| author | Chase Latta <chaselatta@fuchsia.infra.roller.google.com> | Thu May 08 13:45:30 2025 -0700 |
| committer | Copybara-Service <copybara-worker@google.com> | Thu May 08 13:47:25 2025 -0700 |
| tree | 3b51a7949f38d61a7a1e9dc1eb6df2abb719bdfc | |
| parent | c851e228929c8b009dbfbbd85fa7fc192c5fc5fe [diff] |
[roll] Roll fuchsia [fx] suggest correct commands when there is a typo This changes adds a script which will run when there are no commands found when executing fx. The script will use an edit distance to figure out if the user had a typo in their command and suggest the correct command. If there are not suggestions it will fall back to the original error message. With this change typos will now be reporting as: ``` $ fx buidl ERROR: Command 'buidl' not found. Did you mean 'build'? $ fx emu ERROR: 'fx emu' is no longer valid, use 'ffx emu' instead ``` Original-Bug: 402762037 Original-Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/1271284 Original-Revision: aa61e65916bf61ef8181e08e537daa235d6457f0 GitOrigin-RevId: 857cdc5588172ac7e83bd3481dc0d4c678ebe68b Change-Id: I731e9878316275c59a01bf2889a96e747a0ed978
This repository contains Fuchsia's Global Integration manifest files.
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 in one of the communication channels documented at get involved.
First install Jiri.
Next run:
$ jiri init $ jiri import minimal https://fuchsia.googlesource.com/integration $ jiri update
Third party projects should have their own subdirectory in ./third_party.