Agile Web Development with Rails 7: Option for CSS processor (PDF p. 68) [solved]

Since rails help new states

> rails help new
Usage:
  rails new APP_PATH [options]

Options:
      [--skip-namespace], [--no-skip-namespace] # Skip namespace (affects only isolated engines)
…
  -c, [--css=CSS]                               # Choose CSS processor [options: tailwind, bootstrap, bulma, postcss, sass... check https://github.com/rails/cssbundling-rails]
…

I’d like to suggest to adapt the code example in the page to be:

work> rails new depot --css=tailwind

While it works (well, on my machine) without the ‘=’, it seems like a good idea to follow the docs.

Counter examples:

I’m inclined to think the docs are wrong (or at least, not consistent with current practice).

1 Like

Thanks for the reply. :pray:

I’ll dig a bit into this and will probably suggest a change to the way Thor displays the help info.