File tree Expand file tree Collapse file tree
{{cookiecutter.__package_slug}}/{{cookiecutter.__package_slug}} Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1010 test-template :
1111 runs-on : ubuntu-latest
1212 strategy :
13+ fail-fast : false
1314 matrix :
1415 config-file :
1516 - full.yaml
Original file line number Diff line number Diff line change @@ -25,10 +25,10 @@ def wrapper(*args: Any, **kwargs: Any) -> Any:
2525@app .command (help = "Install testing data for local development." )
2626@syncify
2727async def test_data () -> None :
28- from . import _version
28+ from . import __version__
2929 from .services .db import get_session , test_data
3030
31- typer .echo (f"{ settings .project_name } - { _version . version } " )
31+ typer .echo (f"{ settings .project_name } - { __version__ } " )
3232
3333 async with get_session () as session :
3434 await test_data (session )
@@ -43,5 +43,10 @@ def version() -> None:
4343 typer .echo (f"{ settings .project_name } - { __version__ } " )
4444
4545
46+ @app .command (help = "Display a friendly greeting." )
47+ def hello () -> None :
48+ typer .echo (f"Hello from { settings .project_name } !" )
49+
50+
4651if __name__ == "__main__" :
4752 app ()
You can’t perform that action at this time.
0 commit comments