def ensure_app_config_dir(appname, *args):
from ubelt import util_path<EOL>dpath = get_app_config_dir(appname, *args)<EOL>util_path.ensuredir(dpath)<EOL>return dpath<EOL>
Calls `get_app_config_dir` but ensures the directory exists.

Args:
    appname (str): the name of the application
    *args: any other subdirectories may be specified

SeeAlso:
    get_app_config_dir

Example:
    >>> import ubelt as ub
    >>> dpath = ub.ensure_app_config_dir('ubelt')
    >>> assert exists(dpath)