feat(flake): add function to get input names

This commit is contained in:
Johannes Kirschbauer
2025-06-11 20:05:59 +02:00
parent 6b684c45c3
commit 32b5b7dc93

View File

@@ -598,6 +598,9 @@ class Flake:
assert isinstance(self._is_local, bool)
return self._is_local
def get_input_names(self) -> list[str]:
return self.select("inputs", apply="builtins.attrNames")
@property
def path(self) -> Path:
if self._path is None: