boilr icon indicating copy to clipboard operation
boilr copied to clipboard

honor symbolic links in templates

Open solaegis opened this issue 6 years ago • 0 comments

I'd like to suggest an enhancement that would allow boilr to support symbolic links between files. Where Name and Author are defined in project.json, this tree would be properly handled when saved as a template:

.
├── project.json
└── template
    └── {{Name}}
        ├── env.tf
        ├── global-{{Name}}
        └── {{Author}}
            ├── env.tf -> ../env.tf
            └── globals.tf -> ../global-{{Name}}

and would result in the following when used

.
├── project.json
└── template
    └── MyName
        ├── SolAegis
        │   ├── env.tf -> ../env.tf
        │   └── globals.tf -> ../global-MyName
        ├── env.tf
        └── global-MyName

where MyName is supplied for Name and SolAegis is supplied for Author

solaegis avatar Aug 21 '19 13:08 solaegis