Add a background shell to management.
(cls, shell: BackgroundShell)
| 113 | |
| 114 | @classmethod |
| 115 | def add(cls, shell: BackgroundShell) -> None: |
| 116 | """Add a background shell to management.""" |
| 117 | cls._shells[shell.bash_id] = shell |
| 118 | |
| 119 | @classmethod |
| 120 | def get(cls, bash_id: str) -> BackgroundShell | None: |
no outgoing calls
no test coverage detected