miniwerk.mkcwrap

Wrap mkcert calls

Module Contents

Functions

call_mkcert(config)

Construct Cermkcerttbot command and call the entrypoint, returns the args for easier unit testing

get_mk_certs()

Get certs from mkcert, copy them to the configured path, return configured path

Attributes

LOGGER

LOGGER[source]
async call_mkcert(config)[source]

Construct Cermkcerttbot command and call the entrypoint, returns the args for easier unit testing

Parameters:

config (miniwerk.config.MWConfig)

Return type:

Tuple[int, List[str]]

async get_mk_certs()[source]

Get certs from mkcert, copy them to the configured path, return configured path

Return type:

pathlib.Path