mirror of
https://github.com/rr-/pq-cli.git
synced 2026-09-29 06:44:00 -06:00
ui/curses: add curses interface draft
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
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")
|
||||
Reference in New Issue
Block a user