Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Add bash shell completion command #3084
Tried it out. It seems pretty useful. Here's what it like it action (
Zsh completion isn't working for me.
codexnull left a comment
I agree that shell completion would be helpful but I'm not sure that it should be a core dgraph command. The output is fixed for a given dgraph release. The same could be accomplished by just adding static completion files to the release package.
srfrog left a comment
* dgraph/cmd/root.go: add bash shell completion command * dgraph/cmd/root.go: add zsh shell completion dgraph completion command with two subcommands for bash and zsh. * dgraph/cmd/root.go: add usage instructions and help