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
consoleConsole for standard output.
console_styleerror_consoleConsole for error messages.
home_pathThe path to the global quickie directory.
project_pathThe path to the tasks module.
tasksThe root namespace for the application.
tasks_pathThe path to the tasks module.
tmp_pathThe path to the temporary directory.
tmp_relative_pathThe path to the temporary directory.
use_globalWhether to use the global quickie directory.
log_levellog_file