16 lines
319 B
Python
16 lines
319 B
Python
"""Basic usage example for {{ cookiecutter.project_name }}."""
|
|
|
|
from {{ cookiecutter.package_name }}.core import say_hello
|
|
|
|
|
|
def main():
|
|
"""Demonstrate basic usage."""
|
|
# Basic hello
|
|
say_hello()
|
|
|
|
# Hello with a name
|
|
say_hello("{{ cookiecutter.project_name }}")
|
|
|
|
|
|
if __name__ == "__main__":
|
|
main() |