Is there some preview mode of phx.gen.context
when I will see what files and where will be created before I actually do that?
Something like $ mix phx.gen.context.preview Cars Car cars model:string price:integer
?
Is there some preview mode of phx.gen.context
when I will see what files and where will be created before I actually do that?
Something like $ mix phx.gen.context.preview Cars Car cars model:string price:integer
?
Not as far as I know, Personally I’d commit my current changes to git, see what it generates then stash and go again if need be.
Exactly, that’s what I do. Or revert the changes if I don’t like them and redo it again until I get what I want
I use a dummy project, where I run commands before doing in the real project. Thus I know what will be generated.
Ahh, me too . I use both approaches