• Packages
  • Themes
  • Documentation
  • Blog
  • Discuss
Sign in

atom-yeoman

Yeoman Adapter for Atom.io
david-driscoll
41,859
55
  • Repo
  • Bugs
  • Versions
  • License
Flag as spam or malicious

atom-yeoman

Yeoman   and   Atom

It's like match made in heaven!

In Action

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!!).

Current known issues

  • Only "list" and "text" question types are supported. (More to come!)

Less task switching...

Need to add a model or a controller? Normally use a generator for that task? You can run sub generators too...

In Action

Empowering Packages

atom-yeoman lets package authors bundle one or more generators and execute them programmatically through the atom-yeoman framework.

yeoman-environment service

atom-yeoman exposes the yeoman-environment service. This lets you call atom-yeoman as you see fit for your package.

run(generator: string, cwd?: string)

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.

start(prefix?: string, cwd?: string)

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.

Note on setting cwd

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.

I think this package is bad news.

Good catch. Let us know what about this package looks wrong to you, and we'll investigate right away.

  • Terms of Use
  • Privacy
  • Code of Conduct
  • Releases
  • FAQ
  • Contact
with by