refactor template
This commit is contained in:
@@ -1,16 +0,0 @@
|
||||
"""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()
|
||||
6
{{cookiecutter.project_slug}}/examples/config_init.sh
Normal file
6
{{cookiecutter.project_slug}}/examples/config_init.sh
Normal file
@@ -0,0 +1,6 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
set -euo pipefail
|
||||
|
||||
uv run {{ cookiecutter.project_slug }} config init
|
||||
uv run {{ cookiecutter.project_slug }} config show
|
||||
Reference in New Issue
Block a user