1
0
Fork 0
mirror of synced 2024-06-24 17:10:21 +12:00

Replaced od.path in init cli

This commit is contained in:
Angel Rey 2020-09-30 14:43:14 -05:00 committed by Cristian Vargas
parent 3fb410a604
commit fa364ed728

View file

@ -6,12 +6,13 @@ import sys
import argparse
from typing import Optional, Dict, List, IO
from pathlib import Path
from ..config import OUTPUT_DIR
from importlib import import_module
CLI_DIR = os.path.dirname(os.path.abspath(__file__))
CLI_DIR = Path(__file__).resolve().parent
# these common commands will appear sorted before any others for ease-of-use
meta_cmds = ('help', 'version')