cli
cli copied to clipboard
Module parameter scaffolding to be supported for already existed modules
Is your feature request related to a problem? Please describe. It is very good to have a command which helps in creating all the necessary files, methods, and registrations for creating a new param in a specific module. As of now, it is supported in the module scaffolding only. But when you are creating a new module, most often you don't know what could be the parameters, and types for the module.
Describe the solution you'd like A starport scaffolding command, allows us to define a module parameter on the already created module. It should also generate sample unit test cases for the newly generated parameters.
Describe alternatives you've considered As of now the only way is manually identifying and changing all relevant places. like setting parameter key, default value, validation etc.