agent462/sensu-cli — pull request #15 by solarkennedy (2014-02-28 06:30:46+00:00)
Title: Added bash completion file

So.. obviously this is pretty complicated. Too bad there isn't some shell-agnostic way to hint at your available options from within the program itself.

I wasn't able to test aggregates.

Seems to work for me. Just being able to tab twice to see available things you can type is super helpful for commands like this with compound arguments.