Create a new oct project from existing template

    :param Namespace args: command line arguments

def from_template(args):
    """Create a new oct project from existing template

    :param Namespace args: command line arguments
    """
    project_name = args.name
    template = args.template

    with tarfile.open(template) as tar:
        prefix = os.path.commonprefix(tar.getnames())
        check_template(tar.getnames(), prefix)
        tar.extractall(project_name, members=get_members(tar, prefix))