"letshelp_certbot"
******************

Tools for submitting server configurations


"letshelp_certbot.apache"
=========================

Certbot Apache configuration submission script

letshelp_certbot.apache.make_and_verify_selection(server_root, temp_dir)

   Copies server_root to temp_dir and verifies selection with the user

   Parameters:
      * **server_root** (*str*) – Path to the Apache server root

      * **temp_dir** (*str*) – Path to the temporary directory to
        copy files to

letshelp_certbot.apache.copy_config(server_root, temp_dir)

   Safely copies server_root to temp_dir and returns copied files

   Parameters:
      * **server_root** (*str*) – Absolute path to the Apache server
        root

      * **temp_dir** (*str*) – Path to the temporary directory to
        copy files to

   Returns:
      List of copied files and a list of leaf directories where all
      contained files were copied

   Return type:
      "tuple" of "list" of "str"

letshelp_certbot.apache.copy_file_without_comments(source, destination)

   Copies source to destination, removing comments

   Parameters:
      * **source** (*str*) – Path to the file to be copied

      * **destination** (*str*) – Path where source should be copied
        to

letshelp_certbot.apache.safe_config_file(config_file)

   Returns True if config_file can be safely copied

   Parameters:
      **config_file** (*str*) – Path to an Apache configuration file

   Returns:
      True if config_file can be safely copied

   Return type:
      bool

letshelp_certbot.apache.setup_tempdir(args)

   Creates a temporary directory and necessary files for config

   Parameters:
      **args** (*argparse.Namespace*) – Parsed command line arguments

   Returns:
      Path to temporary directory

   Return type:
      str

letshelp_certbot.apache.verify_config(args)

   Verifies server_root and config_file specify a valid config

   Parameters:
      **args** (*argparse.Namespace*) – Parsed command line arguments

letshelp_certbot.apache.locate_config(apache_ctl)

   Uses the apachectl binary to find configuration files

   Parameters:
      **apache_ctl** (*str*) – Path to "apachectl" binary

   Returns:
      Path to Apache server root and main configuration file

   Return type:
      "tuple" of "str"

letshelp_certbot.apache.get_args()

   Parses command line arguments

   Returns:
      Parsed command line options

   Return type:
      argparse.Namespace

letshelp_certbot.apache.main()

   Main script execution
