mirror of
https://github.com/rr-/pq-cli.git
synced 2026-09-29 06:44:00 -06:00
15 lines
329 B
Python
15 lines
329 B
Python
import abc
|
|
import argparse
|
|
|
|
from pqcli.roster import Roster
|
|
|
|
|
|
class BaseUserInterface(abc.ABC):
|
|
def __init__(self, roster: Roster, args: argparse.Namespace) -> None:
|
|
self.roster = roster
|
|
self.args = args
|
|
|
|
@abc.abstractmethod
|
|
def run(self) -> None:
|
|
raise NotImplementedError("not implemented")
|