This gem follow the TRB file structure and, at the moment, it creates files only in the app/concepts folder, so the name of the class is required to make sure that the file goes in the correct folder. Where do you keep your header/navigation/layout//footer files?
BUT maybe it make sense to add a flag to set the destination path accepting a None as class name for example? What do you guys think? @apotonick@fernandes
也许我们应该把两者都放在一起, 因为在大多数情况下, 它实际上是一个模型。错误信息可能类似于 Error: You provided an invalid name for the model and/or the concept folder ？
Well maybe we should put both because in most of the cases it's actually a model. The error message could be something like Error: You provided an invalid name for the model and/or the concept folder ?
Ah OK, thanks @fernandes! I wonder if it could work out by checking different forms, e.g. if the command line name is all lowercase, assume it needs converting to a classname rather than from? Happy to close this though as it doesnt have a dependency on the model.