quickie.config.App

class quickie.config.App

Represents the application configuration and other utilities available globally.

This class is a singleton, meaning that only one instance of it can exist at a time. Calling the constructor will always return the same instance.

__init__()

Initialize the application configuration.

Methods

__init__()

Initialize the application configuration.

configure(**kwargs)

Configure the application.

load_tasks()

Load tasks from the tasks module.

set_context(context)

Set the context for the application.

set_home_path(value)

Set the home path for the application.

set_log_file(log_file)

Set the log file for the application.

set_project_path(value)

Set the project path for the application.

set_tmp_relative_path(value)

Set the temporary relative path for the application.

set_use_global(value)

Set whether to use the global quickie directory.

set_verbosity(verbosity)

Configure the logging level.

Attributes

console

Console for standard output.

console_style

error_console

Console for error messages.

home_path

The path to the global quickie directory.

project_path

The path to the tasks module.

tasks

The root namespace for the application.

tasks_path

The path to the tasks module.

tmp_path

The path to the temporary directory.

tmp_relative_path

The path to the temporary directory.

use_global

Whether to use the global quickie directory.

log_level

log_file