def temporary_directory(template=None):
    options = ['--directory']
    if template:
        options.append(template)
    options = ' '.join(options)
    with hide('running', 'stdout'):
        path = run('mktemp %s' % options)
    return TemporaryDirectory(path)
Require a temporary directory.
dataset/ETHPy150Open ronnix/fabtools/fabtools/require/files.py/temporary_directory