module documentation
Interactively create a new basic configuration file.
| Function | build |
Build a new user configuration file interactively. If the zookeeper host, port, and root path are provided, the configuration will be stored in the ZooKeeper service instead of a local file. |
| Variable | config |
Undocumented |
| Variable | console |
The console to use for printing messages. |
| Variable | current |
Undocumented |
| Variable | progress |
Undocumented |
| Variable | total |
Undocumented |
| Function | _contains |
Check if the value contains an interpolation variable. |
| Function | _print |
Print a message to the console. |
| Function | _print |
Print a header with the given title. |
| Function | _print |
Undocumented |
| Function | _set |
Undocumented |
| Variable | _ini |
Default values for the configuration file. |
| Variable | _interpolation |
Regular expression to match interpolation variables. |
def buildUserConfigFile(configFile:
str | None, zkConfiguration: tuple[ str, int, str | None] | None = None, overwrite: bool = False) -> tuple[ bool, str | None, str | None]:
¶
Build a new user configuration file interactively. If the zookeeper host, port, and root path are provided, the configuration will be stored in the ZooKeeper service instead of a local file.
| Parameters | |
configstr | None | The configuration file to create. |
zktuple[ | A tuple containing the ZooKeeper host, port, and root path. |
overwrite:bool | If True, overwrite the configuration or configuration file if it already exists. |
| Returns | |
A tuple with three elements |
|
Check if the value contains an interpolation variable.
| Parameters | |
value:str | The value to check. |
| Returns | |
bool | True if the value contains an interpolation variable, False otherwise. |
Print a message to the console.
| Parameters | |
msg:str | Rule | Syntax | The message to print. Could be a string, a Rule, or a Syntax object. |
clearbool | None | If True, clear the console before printing the message. |
def _setOption(config:
ACMEConfiguration.ACMEConfiguration, section: str, option: str, value: str, toLower: bool | None = False) -> str:
¶
Undocumented