Get command options inside code #2298
Unanswered
RamazanBiyik77
asked this question in
Help needed
Replies: 1 comment 2 replies
-
get(project_url) |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am noob at coding. I need to get the options on dep commands.
i defined a new task inside code. I need to get that option inside "set" task.
For example:
dep my_command server --option project_url="/xxxx/XXXXX" -v
i need to get option from code side.
I tried https://www.php.net/manual/en/function.getopt.php but it returns an empty array.
Beta Was this translation helpful? Give feedback.
All reactions