cli
cli copied to clipboard
[Question]: Configure Global project ID
Is there any way to have global project id, say in the ~/.config/depot/depot.yaml, so that every git project doesn't have to have depot.json in .gitignore?
Hey! So the Depot CLI will actually search for a depot.json file in any parent directory when trying to resolve the project ID - are your git projects in a common directory? If they're all underneath your home directory for instance, a ~/depot.json would apply to all of them
Good to know that. But no, my projects doesn't have a common parent directory. But depot already have Api token stored in ~/. config/depot.yaml.cant we consider that as the global config file? And for project based config, per do rectory depot.json or yaml will take precedence?