Why it is throw an error like " (Mix) Invalid option: --no-brunch"?

I am try to create new graphql project with phoenix, and when I typing
mix phx.new --no-brunch --no-html, it is throw an error as a

(Mix) Invalid option: --no-brunch

what I missed?

You missed reading the document:

mix help phx.new

Were you copying that command line from an outdated book or tutorial?

–no-brunch has been removed long time ago…

Why do You use it?

As mentionned by @derek-zhou You can list all options for mix.

1 Like

ok tnx so much, appreciated

@Skysoft13 you did not answer his question. As I recall correctly you called yourself a senior developer, so I also wonder how this question ended up here.