sphuber / aiida-shell

AiiDA plugin that makes running shell commands easy.
MIT License
14 stars 7 forks source link

`launch_shell_job`: Allow specifying `arguments` as a single string #35

Closed sphuber closed 1 year ago

sphuber commented 1 year ago

In principle, we could automatically parse it using shlex.split into a list of individual parameters. This would be a lot user friendly as a user will often have a command line call ready and will simply want to copy paste the arguments and not have to manually split it up in tokens. There could be cases where shlex.split doesn't do the right thing, but in that case the user can always do it manually and pass the list instead of the string.