mirror of
https://github.com/Lumither/nocturne.git
synced 2026-10-17 10:26:21 +00:00
feat(client) add client
This commit is contained in:
11 files changed
+342
No files matched your search
@@ -0,0 +1,13 @@
|
||||
from utils.ansi import Ansi
|
||||
|
||||
|
||||
def list_exclude(source: list, exclude: list):
|
||||
return filter(lambda item: item not in exclude, source)
|
||||
|
||||
|
||||
def eprint(msg: str):
|
||||
print(Ansi.blend([Ansi.FAIL], "error: ") + msg)
|
||||
|
||||
|
||||
def wprint(msg: str):
|
||||
print(Ansi.blend([Ansi.WARNING], "warn: ") + msg)
|
||||
Reference in new issue
Block a user