command
appimage_updater.config.command
¶
Configuration management command implementation.
console = Console(no_color=(bool(os.environ.get('NO_COLOR'))))
module-attribute
¶
logger = logging.getLogger(__name__)
module-attribute
¶
list_available_settings()
¶
List all available configuration settings with descriptions and examples.
Source code in src/appimage_updater/config/command.py
reset_global_config(config_file=None, config_dir=None)
¶
Reset global configuration to defaults.
Returns:
Type | Description |
---|---|
bool
|
True if successful, False if error occurred |
Source code in src/appimage_updater/config/command.py
set_global_config_value(setting, value, config_file=None, config_dir=None)
¶
Set a global configuration value.
Returns:
Type | Description |
---|---|
bool
|
True if the setting was applied successfully, False otherwise. |
Source code in src/appimage_updater/config/command.py
show_effective_config(app_name, config_file=None, config_dir=None)
¶
Show effective configuration for a specific application.
Source code in src/appimage_updater/config/command.py
show_global_config(config_file=None, config_dir=None)
¶
Show current global configuration.