cli
cli copied to clipboard
feat: create a function to get the list of `bufFiles` from `github.com/ignite/cli/v28/ignite/templates/app`
Maybe another improvement in this file could be to get the list of `bufFiles` from `github.com/ignite/cli/v28/ignite/templates/app`. I mean, files could be listed using a public function, for example `app.ListBufFiles()` or similar, which would list the files from the embedded `fsProto` FS. This way would avoid errors if a new file is added to the templates without changing the list of hard coded file names defined here.
Originally posted by @jeronimoalbi in https://github.com/ignite/cli/pull/4001#discussion_r1517461495