Skip to content

feature request: enable herdocs by indenting with tabs instead of spaces #216

@hojerst

Description

@hojerst

Problem: Bashly currently wraps command script in functions and indents the code. This effectivily disables the possibility to use heredoc's. The documented suggestion is to use a script in the lib folder as this is not indented. However, this breaks again when running bashly with -w flag as everything is wrapped in a function again.

Suggestion: Use tabs to indent functions instead of spaces. This allows the use of <<-EOF heredocs which CAN be indented, but only work when text is indented with tabs instead of spaces.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions