| 命令 | 说明 |
|---|---|
| cipd | 运行 cipd 命令行工具 |
| create | 搭建新项目基架 |
| format-code | 对修改后的文件运行源代码格式化程序 |
| jiri | 用于多代码库开发的多用途工具。 |
| lint | 对修改后的文件运行静态分析检查 |
| rfc | 搭建新的 RFC |
| sync-to | 将本地 Fuchsia 源代码树同步到给定状态 |
| worktree | 管理 Fuchsia 工作树 |
| bazel2gn | 针对在两者中进行双重构建的目标同步 BUILD.gn 和 BUILD.bazel。 |
| check-goldens | 检查 GN build 图中的所有黄金文件比较。 |
| clang-tidy | 对指定文件运行 clang-tidy |
| dtsfmt | dtsfmt 是一种用于格式化设备树源文件 (.dts) 的实用工具。 |
| gen-cargo | 生成指向 Rust Cargo.toml 输出文件的符号链接 |
| grep | 在 Fuchsia 源代码中输出与给定模式匹配的行 |
| lint | 已废弃:请改用 fx lint |
| list-owners | 查找与提供的路径对应的最近 OWNERS 文件,或 |
| pending-commits | 查看尚未发布到全局集成的提交 |
| set-petal | 将 jiri 配置为管理特定花瓣 |
| shush | 使用允许或编译器建议的修复来静默 Rust lint |
| sync-from-stem | 将集成和依赖项同步到与 fuchsia.git 状态匹配的状态 |
| update-3p-owners | 更新 third_party 依赖项的 OWNERS 文件 |
| update-rust-3p-outdated | 使用 crates.io 中的最新内容更新外部 Rust 依赖项 |
| update-rustc-third-party | 更新 rustc_library 和 rustc_binary third_party 依赖项 |
源代码树 fx 子命令
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2026-09-10。
[[["易于理解","easyToUnderstand","thumb-up"],["解决了我的问题","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["没有我需要的信息","missingTheInformationINeed","thumb-down"],["太复杂/步骤太多","tooComplicatedTooManySteps","thumb-down"],["内容需要更新","outOfDate","thumb-down"],["翻译问题","translationIssue","thumb-down"],["示例/代码问题","samplesCodeIssue","thumb-down"],["其他","otherDown","thumb-down"]],["最后更新时间 (UTC):2026-09-10。"],[],[]]