import os
from ..utils.config import create_config as _create_config, get_config_file
from ..utils.log import create_logger
logger = create_logger(__name__)


def create():
    """Creates a new default config file in the users config dir"""
    config_file = get_config_file()
    if os.path.isfile(config_file):
        logger.info("The config file already exists at '%s'", config_file)
        return
    _create_config()
    logger.info("Created config file at '%s'", config_file)

0df156b58a3884f42457dca3dfecbc56573ba8dd
<mask token>

<mask token>


def create():
    """Creates a new default config file in the users config dir"""
    config_file = get_config_file()
    if os.path.isfile(config_file):
        logger.info("The config file already exists at '%s'", config_file)
        return
    _create_config()
    logger.info("Created config file at '%s'", config_file)

<mask token>
logger = create_logger(__name__)


def create():
    """Creates a new default config file in the users config dir"""
    config_file = get_config_file()
    if os.path.isfile(config_file):
        logger.info("The config file already exists at '%s'", config_file)
        return
    _create_config()
    logger.info("Created config file at '%s'", config_file)

import os
from ..utils.config import create_config as _create_config, get_config_file
from ..utils.log import create_logger
logger = create_logger(__name__)


def create():
    """Creates a new default config file in the users config dir"""
    config_file = get_config_file()
    if os.path.isfile(config_file):
        logger.info("The config file already exists at '%s'", config_file)
        return
    _create_config()
    logger.info("Created config file at '%s'", config_file)
