I sometimes forget whether it is a plural form or a singular form with a terminal command, so I thought it would be easy to know, so I looked it up.
% rails g --help
Will display a list of commands that follow rails g
.
It is limited to the gems you have installed, but the commands that can be used with each gem are displayed.
You can also see the delete command by changing g
to d
.
You can use it when you forget the command!
It ’s a complete digression,
% cal
When you execute, the calendar is displayed.
Recommended Posts