influxdata / flux

Flux is a lightweight scripting language for querying databases (like InfluxDB) and working with data. It's part of InfluxDB 1.7 and 2.0, but can be run independently of those.
https://influxdata.com
MIT License
769 stars 153 forks source link

feat: add bash-like linebreak (`\` at the end of line) to the REPL #5459

Closed khlopkov closed 10 months ago

khlopkov commented 10 months ago

Hello

Current REPL doesn't support multiline input. Found few issues marked as enhancement:

This PR suggests to interpret \ at the end of the line as a limiter for a new line like in bash.

Checklist

Dear Author :wave:, the following checks should be completed (or explicitly dismissed) before merging.

Dear Reviewer(s) :wave:, you are responsible (among others) for ensuring the completeness and quality of the above before approval.

helenosheaa commented 10 months ago

Thank you for your contribution! There is a community owned fork of Flux that would be a great place to open a PR with your new feature. More context:

We are still supporting Flux, but are not doing active development on it or adding any new features to it. We still do security patches and will address any critical defects through the maintenance period. Our focus now is on features related to our latest database engine, InfluxDB 3.0, and its associated products (Cloud Serverless, Cloud Dedicated, Clustered, Edge).

khlopkov commented 10 months ago

Thank you! Closing the MR then and will submit a PR into the fork