How to run the generate command? #631
-
Here's a beginner's question: I'm looking at the Getting started guide and want to try out the "generate" command that is defined as cli tool, IIUC. How do I actually issue that command? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
Hey @RobertWalterU3d, The yeoman generator should generate a |
Beta Was this translation helpful? Give feedback.
Hey @RobertWalterU3d,
The yeoman generator should generate a
bin/cli
file in your project folder. You can simply run it usingnode bin/cli
. The project is configured so that if you for example runnpm link
(which globally links your project, so that it can be consumed by other npm packages), you can just run<packagename> generate
in another npm project. This will automatically run thebin/cli
file from your DSL project.