_msg = f"""{PASSED} [bold]{_config['layout']['header']['title']}[/bold] : A key was generated and written to {keyfile}
use this key in header to enable reload of the site ...`
use this key in header to enable reload of the site ...
"""
else:
_msg = f"""{FAILED} [bold]{_config['system']['layout']['header']['title']}[/bold] : could [bold]NOT[/bold] generate a key, because it would seem you already have one
@ -364,7 +365,7 @@ def bootup (
def theme_list (
manifest:Annotated[str,typer.Argument(help="path of the manifest file")],
# manifest:str= typer.Option(default=None,help="Optional path to a site, otherwise remote themes will be listed"),
url:str=typer.Option(default="https://dev.the-phi.com/git/qcms/themes.git", help="git/github site where the themes live")
url:str=typer.Option(default=URL, help="git/github site where the themes live")
# remote:bool = typer.Option("--remote/--local",help="print list of themes available (remotely)"),
) :
"""
@ -398,8 +399,11 @@ def theme_list (
def theme_set (
manifest:Annotated[str,typer.Argument(help="path of the manifest file")],
name:str = typer.Option(default='default',help='name of the theme to apply'),
url:str=typer.Option(default="https://dev.the-phi.com/git/qcms/themes.git", help="git/github site where the themes live")
url:str=typer.Option(default=URL, help="git/github site where the themes live")
) :
"""
This function will set/update a theme for a given qcms app/site. If the theme doesn't exist it will download it