pub async fn get_work_directory(args: &CLIArgs) -> Result<PathBuf>
Retrieves the work directory based on command-line arguments, environment variables, or system defaults.