diff --git a/cuddle/src/cli/subcommands/folder.rs b/cuddle/src/cli/subcommands/folder.rs index 7cf080c..c13a6d1 100644 --- a/cuddle/src/cli/subcommands/folder.rs +++ b/cuddle/src/cli/subcommands/folder.rs @@ -77,7 +77,7 @@ impl FolderCommand { // Prepare context let mut context = tera::Context::new(); - for var in &self.variables { + for var in self.variables.iter().rev() { context.insert(var.name.to_lowercase().replace([' ', '-'], "_"), &var.value) }