2023-09-27 15:47:04 +05:30
|
|
|
# SPDX-FileCopyrightText: 2023 Aravinth Manivannan <realaravinth@batsense.net>
|
|
|
|
#
|
|
|
|
# SPDX-License-Identifier: AGPL-3.0-or-later
|
|
|
|
|
|
|
|
import argparse
|
|
|
|
|
2023-10-05 00:22:07 +05:30
|
|
|
from .logger import logger
|
2023-09-27 15:47:04 +05:30
|
|
|
from .cli import Cli
|
|
|
|
|
|
|
|
|
|
|
|
def admin(args):
|
2023-10-05 00:22:07 +05:30
|
|
|
logger.info(args)
|
2023-09-27 15:47:04 +05:30
|
|
|
|
|
|
|
|
|
|
|
if __name__ == "__main__":
|
|
|
|
cli = Cli()
|
|
|
|
opts = cli.parse()
|
|
|
|
opts.func(opts, c=cli.c)
|