Coverage for frappe_manager / commands / ssl / dns_config / __init__.py: 100%

6 statements  

« prev     ^ index     » next       coverage.py v7.13.5, created at 2026-07-02 18:13 +0530

1"""DNS configuration subcommand module.""" 

2 

3import typer 

4from typer_examples import install 

5 

6dns_config_command = typer.Typer( 

7 no_args_is_help=True, 

8 rich_markup_mode="rich", 

9 help="Configure DNS provider credentials for DNS-01 challenge", 

10) 

11 

12 

13# Import and register cloudflare command 

14from .cloudflare import dns_config_cloudflare 

15 

16dns_config_command.command(name="cloudflare")(dns_config_cloudflare) 

17 

18# Ensure examples panel is installed for this sub-typer 

19install(dns_config_command)