@@ -215,18 +215,24 @@ func FilterAndListVendors(listConfig schema.ListConfig, format string, delimiter
215
215
}
216
216
217
217
data := map [string ]interface {}{
218
- "Component" : vendor .Component ,
219
- "Version" : vendor .Version ,
220
- "Type" : "Vendor Manifest" ,
221
- "File" : vendor .File ,
222
- "Source" : vendor .Source ,
223
- "Target" : "" ,
224
- "Tags" : vendor .Tags ,
218
+ "Component" : vendor .Component ,
219
+ "Version" : vendor .Version ,
220
+ "Type" : "Vendor Manifest" ,
221
+ "File" : vendor .File ,
222
+ "Source" : vendor .Source ,
223
+ "Target" : "" ,
224
+ "Tags" : vendor .Tags ,
225
+ "atmos_component" : vendor .Component ,
226
+ "atmos_vendor_type" : "Vendor Manifest" ,
227
+ "atmos_vendor_file" : vendor .File ,
228
+ "atmos_vendor_target" : "" ,
225
229
}
226
230
227
231
// Add target path if available
228
232
if len (vendor .Targets ) > 0 {
229
- data ["Target" ] = filepath .Join (atmosConfig .BasePath , vendor .Targets [0 ])
233
+ target := filepath .Join (atmosConfig .BasePath , vendor .Targets [0 ])
234
+ data ["Target" ] = target
235
+ data ["atmos_vendor_target" ] = target
230
236
}
231
237
232
238
// Process the template
0 commit comments