Open nitrocode opened 3 years ago
Have a question? Please checkout our Slack Community or visit our Slack Archive.
It would be nice to provide the command as a string instead of as a list but maintain the original command input for backwards compatibility
Use a command_string input that splits the string into a list
command_string
I want to provide a command without turning it into a list first
Create a command_string input that splits the string into a list
We can split it before passing in a command to the container... but that's no fun
command = split(" ", "bin/rails service -p 3000 -b 0.0.0.0")
None
Have a question? Please checkout our Slack Community or visit our Slack Archive.
Describe the Feature
It would be nice to provide the command as a string instead of as a list but maintain the original command input for backwards compatibility
Expected Behavior
Use a
command_string
input that splits the string into a listUse Case
I want to provide a command without turning it into a list first
Describe Ideal Solution
Create a
command_string
input that splits the string into a listAlternatives Considered
We can split it before passing in a command to the container... but that's no fun
Additional Context
None