Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Thoughts on allowing name: cmd pairs? #40

Closed
kirbysayshi opened this issue Feb 10, 2014 · 1 comment
Closed

Thoughts on allowing name: cmd pairs? #40

kirbysayshi opened this issue Feb 10, 2014 · 1 comment

Comments

@kirbysayshi
Copy link
Contributor

In an effort to cut down repetition in gruntfiles, I was thinking about modifying this plugin to allow simple commands to be even more simple:

exec: {
  echo: {
    cmd: 'echo whatwhat'
  }
}

Could become:

exec: {
  echo: 'echo whatwhat'
}

But before I added it, I figured I'd ask here first. I have quite a few grunt files that end up having the same few commands, and the extra lines just add a lot of noise.

@jharding
Copy link
Owner

Seems like a reasonable idea to me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants