You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 22, 2024. It is now read-only.
@command("cmd")
// and then we retrieve it with ```command.commandName``, it returns
cmd
but when we do the same thing with arguments
@command("cmd :slug")
and then we retrieve it with ```command.commandName``, it returns
cmd :slug
in runtime command name is cmd. There should be solution to get command name and arguments separately
Suggested solution: return command name with command.commandName but make another function command.commandArguments which returns the arguments in array format.
//command.commandName
cmd
//command.commandArguments
['slug']
The text was updated successfully, but these errors were encountered:
this is example of command
when we define command name without slug like
but when we do the same thing with arguments
in runtime command name is
cmd
. There should be solution to get command name and arguments separatelySuggested solution: return command name with
command.commandName
but make another functioncommand.commandArguments
which returns the arguments in array format.The text was updated successfully, but these errors were encountered: