import click, os


def app_data(*args):
    """Return path to application data
    
    Returns:
        str
    """
    path = os.path.abspath(os.path.join(
        click.get_app_dir('VHoster', roaming=False), *args))
    os.makedirs(os.path.dirname(path), exist_ok=True)
    return path