This is part of the Semicolon&Sons Code Diary - consisting of lessons learned on the job. You're in the bash category.
Last Updated: 2024-12-03
I tried to get a scaffold for Ruby on Rails built from the CLI with:
rails generate scaffold name:string, country:string, ...
This ran but gave me invalid columns, ones with commas in their names (e.g 'country,').
In reality, there should be no commas between the arguments. Instead CLIs nearly always use spaces. This is in contrast to functions in normal programming languages.