Add a Spicepod to the project.
spicerack slug: The slug to the Spicepod on spicerack.org.-h, --help Print this help messageAdding a Spicepod from Spicerack (like spiceai/quickstart):
Directory Structure: The command makes two main modifications to the directory structure:
spicepods directory in the project root if it does not exist.spicepods directory. For this example, the command would create the directories spicepods/spiceai and spicepods/spiceai/quickstart, instantiating a Spicepod under the latter. More generally, the Spicepod is placed under spicepods/[slug], where slug is the Spicerack slug associated with that Spicepod.After running the command, the directory structure looks like this:
├── spicepods/ │ ├── spiceai/ │ ├── quickstart/ │ ├── spicepod.yaml ├── spicepod.yaml └── ...
Any other Spicepods added using spice add are placed in the spicepods directory.
spice add also creates the appropriate Spicepod for the given Spicerack slug. For this example with spiceai/quickstart, the command creates the following the Spicepod under spicepods/spiceai/quickstart:
The add command also includes the above Spicepod as a dependency in the root spicepod.yaml, creating this file if it does not exist: