@@ -54,7 +54,7 @@ def save_config_file(config_file: Path, configuration: dict):
5454
5555 Params:
5656
57- - config_file(Path): path configuration file. (I .e.: "pyscript.toml"). Supported
57+ - config_file(Path): path configuration file. (i .e.: "pyscript.toml"). Supported
5858 formats: `toml` and `json`.
5959 - configuration(dict): app configuration to be saved
6060
@@ -72,7 +72,7 @@ def string_to_html(
7272 code : str ,
7373 title : str ,
7474 output_path : Path ,
75- template_name : str = "basic .html" ,
75+ template_name : str = "wrap .html" ,
7676 pyscript_version : str = LATEST_PYSCRIPT_VERSION ,
7777) -> None :
7878 """Write a Python script string to an HTML file template.
@@ -101,7 +101,7 @@ def file_to_html(
101101 input_path : Path ,
102102 title : str ,
103103 output_path : Optional [Path ],
104- template_name : str = "basic .html" ,
104+ template_name : str = "wrap .html" ,
105105 pyscript_version : str = LATEST_PYSCRIPT_VERSION ,
106106) -> None :
107107 """Write a Python script string to an HTML file template."""
@@ -126,13 +126,14 @@ def create_project(
126126
127127 TODO: more files to add to the core project start state.
128128 """
129+ date_stamp = datetime .date .today ()
129130 context = {
130131 "name" : app_name ,
131132 "description" : app_description ,
132133 "type" : "app" ,
133134 "author_name" : author_name ,
134135 "author_email" : author_email ,
135- "version" : f"{ datetime . date . today (). year } .1 .1" ,
136+ "version" : f"{ date_stamp . year } .{ date_stamp . month } .1" ,
136137 }
137138 app_dir = Path ("." ) / app_name
138139 app_dir .mkdir ()
0 commit comments