You've already forked cookiecutter-ansible-role
10 lines
192 B
Python
10 lines
192 B
Python
import os
|
|
from cookiecutter.utils import simple_filter
|
|
|
|
|
|
@simple_filter
|
|
def basename(path):
|
|
return os.path.basename(path)
|
|
@simple_filter
|
|
def dirname(path):
|
|
return os.path.dirname(path) |