Please describe the feature you have in mind and explain what the current shortcomings are?
When you just want to quickly add a multi-line Python script to the menu it's non trivial because currently it'd only support a single line of code like import my_script; my_script.run() but sometimes you just want to quickly throw in some script there without worrying about managing your own python libs to run from.
How would you imagine the implementation of the feature?
Make the "command" field a multi-line text field.
Are there any labels you wish to add?
[X] I have added the relevant labels to the enhancement request.
Is there an existing issue for this?
Please describe the feature you have in mind and explain what the current shortcomings are?
When you just want to quickly add a multi-line Python script to the menu it's non trivial because currently it'd only support a single line of code like
import my_script; my_script.run()
but sometimes you just want to quickly throw in some script there without worrying about managing your own python libs to run from.How would you imagine the implementation of the feature?
Make the "command" field a multi-line text field.
Are there any labels you wish to add?
Describe alternatives you've considered:
No response
Additional context:
Related to discussion on discord.