Skip to content

Possible to ignore certain variables? #191

@bitbythecron

Description

@bitbythecron

Any recommendations/hacks/workaround for when the post-templated file needs to have ${...}-style tokens in it that should be ignored by lazybones?

For example, a sample application.yml file for a Spring Boot app:

logging:
  config: 'logback.groovy'
${appname}:
  configWaitForAnswerMillis: ${configTime}

Say I want lazybones to replace ${appname} with the name of the app I'm generating, but I want lazybones to ignore ${configTime} so that the resultant YAML file might look like:

logging:
  config: 'logback.groovy'
myapp:
  configWaitForAnswerMillis: ${configTime}

Any suggestions here? Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions