Allow the use of nushell scripts
The presets are usefull and easy to use only when using simple commands. We are starting to develop complex preset which are not really maintainable.
To deal with those complex commands, we can use nushell scripts in the presets. That way we can develop complex commands easily and make them more maintanable. To use them with the presets we only need to use the preset parameters as arguments of the script.
To do this, i suggest doing the following:
- Add a section in resources that will contain nushell scripts.
- In the config module, import those scripts in the
~/.poulpy
folder. - Launch them directly in the presets with the path used at the importation.