If a command is defined as having 2+ string arguments, end users should be able to run the command and have spaces inside the arguments. One way this could be done is with quotes.
Let's assume there's a command defined as command "time", time: :string, source_tz: :string, destination_tz: :string do and let's assume this command is expecting timezones as its arguments. If a user wants to get the time "18pm" from "New York" to "UTC", they currently have no way of giving "New York" as the value for source_tz.
Using the quotes example, the user could do so by sending [p]time 18pm "New York" UTC.
If a command is defined as having 2+ string arguments, end users should be able to run the command and have spaces inside the arguments. One way this could be done is with quotes.
Let's assume there's a command defined as
command "time", time: :string, source_tz: :string, destination_tz: :string doand let's assume this command is expecting timezones as its arguments. If a user wants to get the time "18pm" from "New York" to "UTC", they currently have no way of giving"New York"as the value forsource_tz.Using the quotes example, the user could do so by sending
[p]time 18pm "New York" UTC.