Revisit Repo initialization #3845
Labels
th/config
Theme: Related to configuration files and settings across the project
type/tech-debt
Type: Issues meant to address technical debt
Milestone
The repo is initialized in the
RootCmd
before any flags are registered. This means only default configurations are used when initializing the repo and any env variables or flags will be ignored. For example, if I runbacalhau serve --compute-execution-store-path my-awesome-path
for the very first time, then bacalhau will still initialize the repo with default value, create~/.bacalhau/compute-store
directory, and createconfig.yaml
with~/.bacalhau/compute-store
instead of my provided one. It is difficult to do things differently with our current setup as we initialize the repo in any command, but these flags are only available forserve
commandReference: #3429
The text was updated successfully, but these errors were encountered: