Skip to content

How do you access flag values in custom commands? #6430

Closed Answered by rfay
TravisCarden asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @TravisCarden , welcome. If you look at the launch command, you'll see that it's ordinary bash argument handling. You can read about that in most bash tutorials, but launch is probably good enough to get you going.

Mostly the Flags directive is just there to provide hints to ddev help <command> about what it should say.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by TravisCarden
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants