Skip to content
This repository has been archived by the owner on Jun 6, 2023. It is now read-only.

refactor the source files to make them easier to read and work with #6

Open
amtoine opened this issue Dec 18, 2022 · 0 comments
Open
Labels
enhancement New feature or request

Comments

@amtoine
Copy link
Member

amtoine commented Dec 18, 2022

i would like to refactor the scripts a bit, mainly

  • fix some indentation and typos
  • use the | pipe symbol at the beginning of the lines instead of the end
    this is both
    • easier to read because one can see the pipe directly when starting a line
    • easier to work with because all the lines of a pipe, except the first obviously, have the same structure and can thus be removed or shuffles without breaking the pipeline

for instance, to change

start-of-pipe |
command-1 |
command-2 |
end-of-pipe

one would have to make sure the | is added to the last command and removed from others when shuffling

with

start-of-pipe
| command-1
| command-2
| end-of-pipe

one can shuffle and remove any of the last three commands without ever breaking the pipeline itself 👍

@amtoine amtoine added the enhancement New feature or request label Dec 18, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant