confab.validate

Functions for validating user input to tasks.

confab.validate.validate_all(templates_dir, data_dir, generated_dir, remotes_dir)[source]

Validate templates_dir, data_dir, generated_dir, remotes_dir, and host.

confab.validate.validate_data_dir(data_dir)[source]

Data directory must be defined and exist.

confab.validate.validate_generate(templates_dir, data_dir, generated_dir)[source]

Validate templates_dir, data_dir, generated_dir, and host.

confab.validate.validate_generated_dir(generated_dir)[source]

Generated directory must be defined and not be a regular file.

confab.validate.validate_host()[source]

Fabric host_string must be defined.

confab.validate.validate_pull(templates_dir, data_dir, remotes_dir)[source]

Validate templates_dir, data_dir, remotes_dir, and host.

confab.validate.validate_remotes_dir(remotes_dir)[source]

Remotes directory must be defined and not be a regular file.

confab.validate.validate_templates_dir(templates_dir)[source]

Template directory must be defined and exist.