Files
sousa-gecko/third_party/application-services/examples/example-cli/README.md
T
Ted Campbell 1eeb7b63d1 Bug 2019144 - Vendor much more of application-services. r=nalexander
The GitHub repo is still the source of truth and this is a read-only vendor.
This should let us experiment more incrementally with the monorepo.

Differential Revision: https://phabricator.services.mozilla.com/D282538
2026-04-30 00:42:51 +00:00

423 B

CLI for the example component.

Creating a CLI can be useful for a couple reasons:

  • It can assist development by providing a way to execute the code.
  • It provides an example of how the component will be consumed (this is why the CLIs live in the examples directory).

If you create a CLI, add an alias in /.cargo/config.toml. For example, this CLI has an alias which allows it to be run using cargo example [args]