Name loop_claude's modules and words by what each holds, explain the reload, and tie each exit-1 clause of --help to its Stop
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import pathlib
|
||||
|
||||
from loop_claude.effects import Effects
|
||||
from loop_claude.outcome import Stop
|
||||
from loop_claude.stop import Stop
|
||||
|
||||
|
||||
def checkout_root(cwd: pathlib.Path, effects: Effects) -> str | Stop:
|
||||
@@ -25,5 +25,5 @@ def checkouts(root: str, effects: Effects) -> list[str]:
|
||||
return sorted(set(found))
|
||||
|
||||
|
||||
def project_name(root: str, code: pathlib.Path) -> str:
|
||||
def project_key(root: str, code: pathlib.Path) -> str:
|
||||
return root.removeprefix(f"{code}/").lstrip("/")
|
||||
|
||||
Reference in New Issue
Block a user