2626 validate_module_site ,
2727)
2828
29+ MODULE_SITE_HELP = "The module (python file) and site (the Site object) for your site in the format module:site"
30+
2931try :
3032 # Get the RE version for display. If it's not set it means we're working locally.
3133 from render_engine .__version__ import version as re_version
@@ -123,7 +125,7 @@ def init(template: str, extra_context: str, no_input: bool, output_dir: Path, co
123125@click .option (
124126 "--module-site" ,
125127 type = click .STRING ,
126- # help="The module (python file) and site (the Site object) for your site in the format module:site" ,
128+ help = MODULE_SITE_HELP ,
127129 callback = validate_module_site ,
128130)
129131@click .option (
@@ -146,7 +148,7 @@ def build(module_site: str, clean: bool):
146148@click .option (
147149 "--module-site" ,
148150 type = click .STRING ,
149- # help="The module (python file) and site (the Site object) for your site in the format module:site" ,
151+ help = MODULE_SITE_HELP ,
150152 callback = validate_module_site ,
151153)
152154@click .option (
@@ -207,7 +209,7 @@ def serve(module_site: str, clean: bool, reload: bool, port: int):
207209@click .option (
208210 "--module-site" ,
209211 type = click .STRING ,
210- # help="The module (python file) and site (the Site object) for your site in the format module:site" ,
212+ help = MODULE_SITE_HELP ,
211213 callback = validate_module_site ,
212214)
213215@click .option (
@@ -348,7 +350,7 @@ def new_entry(
348350@click .option (
349351 "--module-site" ,
350352 type = click .STRING ,
351- # help="The module (python file) and site (the Site object) for your site in the format module:site" ,
353+ help = MODULE_SITE_HELP ,
352354 callback = validate_module_site ,
353355)
354356@click .option (
@@ -401,7 +403,7 @@ def templates(module_site: str, theme_name: str, filter_value: str):
401403@click .option (
402404 "--module-site" ,
403405 type = click .STRING ,
404- # help="The module (python file) and site (the Site object) for your site in the format module:site" ,
406+ help = MODULE_SITE_HELP ,
405407 callback = validate_module_site ,
406408)
407409@click .option (
0 commit comments