It's like match made in heaven!
No longer do you have to leave the confines of your atom editor to scaffold your new view, or to create a new project. (You still can if you prefer!!).
- Only "list" and "text" question types are supported. (More to come!)
Need to add a model or a controller? Normally use a generator for that task? You can run sub generators too...
atom-yeoman lets package authors bundle one or more generators and execute them programmatically through the atom-yeoman framework.
atom-yeoman exposes the yeoman-environment
service. This lets you call atom-yeoman
as you see fit for your package.
Runs the given generator (aspnet:app, aspnet:Class, jquery, etc.) You may optionally give the cwd that you would like the generator to work from.
Runs atom-yeoman as if you had run the yo
command.
Optionally you can give the prefix, so you can have yeoman only show a subset of the available generators.
You may optionally give the cwd that you would like the generator to work from.
If you don't set the cwd, then atom-yeoman will try to determine the best location for you.
- If atom has no projects open, a warning notification is thrown.
- If atom has one project open, that projects path is chosen.
- If atom has more than one project open, then the user will be prompted to choose the correct path.