Compare commits

..

No commits in common. "151a4e0875c8761b887e396df97119f7ea3ddf44" and "c70e6c243168c7041ace5bc465badfd35a941ab9" have entirely different histories.

11 changed files with 0 additions and 63 deletions

View file

View file

View file

12
main.py
View file

@ -1,12 +0,0 @@
#!/usr/bin/python
from aiogram import executor
import asyncio
async def main():
"""TODO: Create and configure bot, connect to db"""
if __name__ == '__main__':
asyncio.run(main())

View file

@ -1,42 +0,0 @@
from loguru import logger
import pretty_errors
import argparse
from argparse import ArgumentParser
def lmao():
print("lmao")
def init_argparser() -> ArgumentParser:
argparser = argparse.ArgumentParser(
description="List fish in aquarium.",
argument_default=argparse.SUPPRESS
)
argparser.add_argument(
"--init", "-i",
help="Инициализирует базу данных",
type=str,
)
argparser.add_argument(
"--make-adm", "-m",
help="Делает пользователя админом",
type=str,
)
argparser.add_argument(
"--del-adm", "-d",
help="Забирает права админа у пользователя",
type=str,
)
argparser.add_argument(
"--delete-db",
help="Снести базу данных",
action="lmao"
)
return argparser
if __name__ == '__main__':
argparser = init_argparser()
args = vars(argparser.parse_args())

View file

View file

@ -1,4 +0,0 @@
loguru
pretty_errors
pyyaml
aiogram

View file

View file

@ -1,5 +0,0 @@
class Repo:
"""Db abstraction layer"""
def __init__(self):
pass

View file