Function gen_handler
Source pub fn gen_handler(cmd: &GenCmd) -> Result<(), AppError>
Expand description
Handles the subcommand for generating various kinds of entities.
Depending on the selected variant of GenCmd, it delegates to the
corresponding private handler function.
§Arguments
cmd - The parsed subcommand arguments.
§Errors
Returns an AppError if any of the underlying handlers fail.