run method
Runs this command.
The return value is wrapped in a Future if necessary and returned by
CommandRunner.runCommand.
Implementation
@override
void run() {
final route = argResults!.rest.first;
final template = JsonLoader.load("templates/route/route.json");
Generator.generate(template, {
"route": route,
});
print("🛣 Route $route generated");
}