Skip to main content

expand-external-cell

This document provides an overview of the commands and options available under buck2 expand-external-cell.

buck2 expand-external-cell

Expand the contents of an external cell into the repo.

The contents are placed at the path you specified for this cell in your buckconfig.

If you additionally remove the entry from the external_cells section of your buckconfig, you can edit the files directly in the repo and see those edits reflected in your build.

Note that this creates a point-in-time snapshot. The files in the repo will not be updated if you eg change the git commit of the cell in the future.

Usage: buck2 expand-external-cell [OPTIONS] [CELLS]...

Arguments:

  • <CELLS>

Options:

  • --all-cells Expand all cells that Buck2 knows about