
    Usage: assembly_config <command> [<args>]

    Arguments to construct an assembly config.


**OPTIONS:**


      --help, help      display usage information


**SUBCOMMANDS:**


      generate          An intermediate pass-through struct to manage the `generate`
                        subcommand
      extract           An intermediate pass-through struct to manage the `extract`
                        subcommand


## extract


    Usage: assembly_config extract <command> [<args>]

    An intermediate pass-through struct to manage the `extract` subcommand


**OPTIONS:**


      --help, help      display usage information


**SUBCOMMANDS:**


      product-package   Arguments to extract a package from an assembly product
                        config container.


### product-package


    Usage: assembly_config extract product-package --config <config> --package-name <package-name> --outdir <outdir> --output-package-manifest <output-package-manifest> [--depfile <depfile>]

    Arguments to extract a package from an assembly product config container.


**OPTIONS:**


      --config          the input product config container directory.
      --package-name    the name of the package to extract.
      --outdir          the directory to write the package contents to.
      --output-package-manifest
                        the filename to write the package manifest to.
      --depfile         a depfile to write.
      --help, help      display usage information


## generate


    Usage: assembly_config generate <command> [<args>]

    An intermediate pass-through struct to manage the `generate` subcommand


**OPTIONS:**


      --help, help      display usage information


**SUBCOMMANDS:**


      product           Arguments to generate a product config.
      product-input-bundle
                        Arguments to generate a product input bundle.
      hybrid-product    Arguments to generate a hybrid product config.
      board-input-bundle
                        Arguments to generate a board input bundle.
      board-input-bundle-set
                        Arguments to generate a board input bundle set.
      board             Arguments to generate a board config.
      hybrid-board      Arguments to generate a hybrid board config.
      partitions        Arguments to generate a partitions config.
      platform-artifacts
                        Arguments to generate a platform artifacts directory.


### board


    Usage: assembly_config generate board --config <config> [--partitions-config <partitions-config>] [--board-input-bundles <board-input-bundles...>] [--board-input-bundle-sets <board-input-bundle-sets...>] --output <output> [--version <version>] [--version-file <version-file>] [--repo <repo>] [--repo-file <repo-file>] [--depfile <depfile>]

    Arguments to generate a board config.


**OPTIONS:**


      --config          the input board config with absolute paths.
      --partitions-config
                        the partitions config to add to the board.
      --board-input-bundles
                        paths to board input bundles to include.
      --board-input-bundle-sets
                        paths to board input bundle sets to make available.
      --output          the directory to write the board config to.
      --version         release version that this board config corresponds to.
      --version-file    path to a file containing the release version that this
                        config matches.
      --repo            name of repository where this board is released.
      --repo-file       path to a file containing the repository information.
      --depfile         a depfile to write.
      --help, help      display usage information


### board-input-bundle


    Usage: assembly_config generate board-input-bundle --name <name> --include-in <include-in> --output <output> [--drivers <drivers>] [--base-packages <base-packages...>] [--bootfs-packages <bootfs-packages...>] [--bootfs-or-base-packages <bootfs-or-base-packages...>] [--cpu-manager-config <cpu-manager-config>] [--energy-model-config <energy-model-config>] [--kernel-boot-args <kernel-boot-args...>] [--battery-manager-config <battery-manager-config>] [--power-manager-config <power-manager-config>] [--power-metrics-recorder-config <power-metrics-recorder-config>] [--system-power-mode-config <system-power-mode-config>] [--thermal-config <thermal-config>] [--thread-roles <thread-roles...>] [--sysmem-format-costs-config <sysmem-format-costs-config...>] [--triage-detect-configs <triage-detect-configs...>] [--version <version>] [--version-file <version-file>] [--repo <repo>] [--repo-file <repo-file>] [--depfile <depfile>]

    Arguments to generate a board input bundle.


**OPTIONS:**


      --name            the name of the board input bundle.
      --include-in      which build types to include this BIB.
      --output          the directory to write the board input bundle to.
      --drivers         the path to the file that describes all the drivers to add
                        to the bundle. The format of this file is a json list of
                        dictionaries that specify the following fields: 1)
                        'package': The path to the package manifest 2) 'set': The
                        package set that it belongs to ("bootfs" or "base") 3)
                        'components': A list of the driver components in this
                        package.
      --base-packages   the paths to package manifests for all packages to add to
                        the base package set.
      --bootfs-packages the paths to package manifests for all packages to add to
                        the bootfs package set.
      --bootfs-or-base-packages
                        the paths to package manifests for all packages to add to
                        the bootfs-or-base package set.
      --cpu-manager-config
                        cpu-manager configuration
      --energy-model-config
                        energy model configuration for processor power management
      --kernel-boot-args
                        arguments to pass to the kernel on boot
      --battery-manager-config
                        battery-manager configuration
      --power-manager-config
                        power-manager configuration
      --power-metrics-recorder-config
                        power metrics recorder configuration
      --system-power-mode-config
                        system power modes configuration
      --thermal-config  thermal management configuration
      --thread-roles    thread role configuration files
      --sysmem-format-costs-config
                        sysmem format costs configuration files Each file's content
                        bytes are a persistent fidl fuchsia.sysmem2.FormatCosts.
                        Normally json\[5] would be preferable for config, but we
                        generate this config in rust using FIDL types (to avoid
                        repetition and to take advantage of FIDL rust codegen), and
                        there's no json schema for FIDL types.
      --triage-detect-configs
                        triage-detect configs for board-specific drivers.
      --version         release version that this BIB corresponds to.
      --version-file    path to a file containing the release version that this BIB
                        matches.
      --repo            name of repository where this board is released.
      --repo-file       path to a file containing the repository information.
      --depfile         a depfile to write.
      --help, help      display usage information


### board-input-bundle-set


    Usage: assembly_config generate board-input-bundle-set --name <name> [--board-input-bundles <board-input-bundles...>] [--version <version>] [--version-file <version-file>] [--repo <repo>] [--repo-file <repo-file>] --output <output> [--depfile <depfile>]

    Arguments to generate a board input bundle set.


**OPTIONS:**


      --name            the name of the set.
      --board-input-bundles
                        paths to board input bundles to include.
      --version         release version that this BIB corresponds to.
      --version-file    path to a file containing the release version that this BIB
                        matches.
      --repo            name of repository where this board is released.
      --repo-file       path to a file containing the repository information.
      --output          the directory to write the board config to.
      --depfile         a depfile to write.
      --help, help      display usage information


### hybrid-board


    Usage: assembly_config generate hybrid-board --config <config> --output <output> [--replace-bibs-from-board <replace-bibs-from-board>] [--replace-bib-sets <replace-bib-sets...>] [--replace-partitions-config <replace-partitions-config>] [--replace-devicetree <replace-devicetree>] [--depfile <depfile>]

    Arguments to generate a hybrid board config.


**OPTIONS:**

--config the input board config with absolute paths.
--output the directory to write the board config to.
--replace-bibs-from-board
a board that contains BIBs that should be added to `config`.
--replace-bib-sets
replace all the bibs from these sets that are found in
`config`.
--replace-partitions-config
a partitions config to insert into `config`.
--replace-devicetree
a new devicetree to add to the board.
--depfile a depfile to write.
--help, help display usage information

### hybrid-product


    Usage: assembly_config generate hybrid-product --input <input> [--replace-package <replace-package...>] [--product-input-bundles <product-input-bundles...>] --output <output> [--depfile <depfile>]

    Arguments to generate a hybrid product config.


**OPTIONS:**


      --input           the input product config directory.
      --replace-package a package to replace in the input.
      --product-input-bundles
                        a product input bundle to replace in the input.
      --output          the directory to write the product config to.
      --depfile         a depfile to write.
      --help, help      display usage information


### partitions


    Usage: assembly_config generate partitions --config <config> --output <output> [--depfile <depfile>]

    Arguments to generate a partitions config.


**OPTIONS:**


      --config          the input partitions config with absolute paths.
      --output          the directory to write the partitions config to.
      --depfile         a depfile to write.
      --help, help      display usage information


### platform-artifacts


    Usage: assembly_config generate platform-artifacts --name <name> --aib-list <aib-list> --repo <repo> --version <version> [--tools <tools...>] --output <output> --depfile <depfile>

    Arguments to generate a platform artifacts directory.


**OPTIONS:**


      --name            the name to give the platform artifacts.
      --aib-list        the list of AIBs to include.
      --repo            the repository URL.
      --version         the platform version.
      --tools           paths to tool binaries to include.
      --output          the directory to write the platform artifacts to.
      --depfile         a depfile to write.
      --help, help      display usage information


### product


    Usage: assembly_config generate product --config <config> [--version <version>] [--version-file <version-file>] [--repo <repo>] [--repo-file <repo-file>] [--product-input-bundles <product-input-bundles...>] --output <output> [--depfile <depfile>]

    Arguments to generate a product config.


**OPTIONS:**


      --config          the input product config with absolute paths.
      --version         release version that this product config corresponds to.
      --version-file    path to a file containing the release version that this
                        product config matches.
      --repo            name of repository where this product is released.
      --repo-file       path to a file containing the repository information.
      --product-input-bundles
                        paths to product input bundles to include.
      --output          the directory to write the product config to.
      --depfile         a depfile to write.
      --help, help      display usage information


### product-input-bundle


    Usage: assembly_config generate product-input-bundle --name <name> [--base-packages <base-packages...>] [--cache-packages <cache-packages...>] [--flexible-packages <flexible-packages...>] [--packages-for-product-config <packages-for-product-config...>] --output <output> [--version <version>] [--version-file <version-file>] [--repo <repo>] [--repo-file <repo-file>] [--depfile <depfile>]

    Arguments to generate a product input bundle.


**OPTIONS:**


      --name            the name of the product input bundle.
      --base-packages   a set of base package manifests to include.
      --cache-packages  a set of cache package manifests to include.
      --flexible-packages
                        a set of flexible package manifests to include.
      --packages-for-product-config
                        a set of package manifests to include that will only be
                        included in the final images if a product config references
                        it.
      --output          the directory to write the product input bundle to.
      --version         release version that this BIB corresponds to.
      --version-file    path to a file containing the release version that this BIB
                        matches.
      --repo            name of repository where this board is released.
      --repo-file       path to a file containing the repository information.
      --depfile         a depfile to write.
      --help, help      display usage information