cli icon indicating copy to clipboard operation
cli copied to clipboard

feat: create a function to get the list of `bufFiles` from `github.com/ignite/cli/v28/ignite/templates/app`

Open Pantani opened this issue 2 years ago • 0 comments

          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

Pantani avatar Mar 08 '24 19:03 Pantani