Artifacts
Publish the included `bundle/` directory as a [versioned artifact](https://atmos.tools/artifacts), list it in a local repository, and restore its files. This example runs entirely on your filesystem.
Try it out
- Install Atmos
- Try the example
Copy the example into a new directory and make it your own:
atmos init examples/artifacts
cd artifacts
Follow the README for prerequisites and next steps.
See it in action
RECORDED DEMO Artifacts
Publish the included bundle/ directory as a versioned artifact, list it in a local repository, and restore its files. This example runs entirely on your filesystem.
From the repository root, run these commands with a version of Atmos that includes atmos artifacts:
cd examples/artifactsatmos artifacts publish ./bundle --repository=local --name=builds/app --version=1.0.0 --readme=README.mdatmos artifacts list --repository=localatmos artifacts pull builds/app:1.0.0 --repository=local --output=./restoreddiff -r bundle restored
The list includes builds/app at version 1.0.0. In a terminal, pull displays the published README after the operation summary. An empty diff confirms the restored files match the original bundle.