kamangir
setup - kamangir/bolt#689
664a799
raw
history blame
471 Bytes
import argparse
from . import *
from abcli import logging
import logging
logger = logging.getLogger(__name__)
parser = argparse.ArgumentParser(name, description=f"{name}-{version}")
parser.add_argument(
"task",
type=str,
help="TBD",
)
args = parser.parse_args()
success = False
if args.task == "TBD":
success = True
else:
logger.error(f"-{name}: {args.task}: command not found.")
if not success:
logger.error(f"-{name}: {args.task}: failed.")