mindroot.coreplugins.env_manager package¶
Submodules¶
mindroot.coreplugins.env_manager.mod module¶
- mindroot.coreplugins.env_manager.mod.load_env_file()[source]¶
Load environment variables from .env file.
- Returns:
Dictionary of environment variables from .env file
- Return type:
dict
- mindroot.coreplugins.env_manager.mod.save_env_file(env_vars)[source]¶
Save environment variables to .env file.
- Parameters:
env_vars (dict) – Dictionary of environment variables to save
- Returns:
True if successful, False otherwise
- Return type:
bool
- mindroot.coreplugins.env_manager.mod.scan_directory_for_env_vars(directory)[source]¶
Scan a directory for environment variable references using grep.
- Parameters:
directory (str) – Path to the directory to scan
- Returns:
Set of environment variable names found
- Return type:
set
- async mindroot.coreplugins.env_manager.mod.scan_env_vars(params=None, context=None)[source]¶
Scan all enabled plugins for environment variable references.
Debug logs added to help troubleshoot path resolution and scanning.
- Returns:
Dictionary with plugin names as keys and environment variable info as values
- Return type:
dict