# Path: tasks/utils.py
# def cd(path):
# def bash(cmd):
# def mkdir(*paths):
# def ls(path):
# def iterdir(path):
# def files(path):
# def folders(path):
# def clean_files():
# def readout(cmd):
# def get_package_property(name):


from invoke import task
from invoke import run
from .utils import (
    package_name,
    python_bin,
    clean_files
)
import os


requirements = os.path.join('requirements',
                            'development.txt')


def verun(cmd):
    """Runs a command inside the virtual environment without
    invoking it

    Args:
        cmd(str): Command to be run in the virtual env
    Returns:
         None
    """
    run('pew in {0} {1}'.format(package_name(), cmd))


@task
def new():
    """Creates a new virtual environment with the package name.
    """
    run('pew new --dont-activate --python={0} '

# Path: tasks/utils.py
# def cd(path):
# def bash(cmd):
# def mkdir(*paths):
# def ls(path):
# def iterdir(path):
# def files(path):
# def folders(path):
# def clean_files():
# def readout(cmd):
# def get_package_property(name):


# Path: tasks/env.py
from invoke import task
from invoke import run
from .utils import (
    package_name,
    python_bin,
    clean_files
)
import os



requirements = os.path.join('requirements',
                            'development.txt')


def verun(cmd):
    """Runs a command inside the virtual environment without
    invoking it

    Args:
        cmd(str): Command to be run in the virtual env
    Returns:
         None
    """
    run('pew in {0} {1}'.format(package_name(), cmd))


@task
def new():
    """Creates a new virtual environment with the package name.
    """
    run('pew new --dont-activate --python={0} '

        '{1}'.format(python_bin, package_name()))