Add kube-ps1 as dependency

This commit is contained in:
Tom Parker-Shemilt 2025-08-30 16:55:37 +01:00 committed by Tom Parker-Shemilt
commit 37984b7484
No known key found for this signature in database
GPG key ID: 6B4BF26B21971CAC
2 changed files with 16 additions and 2 deletions

View file

@ -587,9 +587,15 @@ def main():
# Cache YAML version
DependencyStore.set(data)
dependencies = data["dependencies"]
for path in dependencies:
if len(sys.argv) > 1:
# argv is list of dependencies to run, default is all of them
dependency_list = sys.argv[1:]
else:
dependency_list = dependencies.keys()
for path in dependency_list:
dependency = Dependency(path, dependencies[path])
dependency.update_or_notify()