swagger-api / swagger-node

Swagger module for node.js
http://swagger.io
Apache License 2.0
3.97k stars 585 forks source link

Lazy people don't like typing `project` in the cli again, and again, and again… #289

Open earth2marsh opened 9 years ago

earth2marsh commented 9 years ago

In my focus group of 1, every swagger … CLI command I type happens in the context of a project. But I have to type swagger project start and swagger project edit. Why not just assume the project?

This would feel more like heroku CLI to me. I heroku create _name_ and heroku logs and heroku local without having to specify my app name, at least when I'm in the context of a project directory.

mohsen1 commented 9 years ago

#lazyweb

theganyo commented 9 years ago

alias swaggerp="swagger project"