yext / edward

A tool for managing local microservice instances
http://engblog.yext.com/edward/
MIT License
171 stars 32 forks source link

Better autocompletes #144

Closed theindexer closed 6 years ago

theindexer commented 7 years ago

Currently edward autocompletes all subcommands, services, and groups at once.

Would be nice to autocomplete subcommands only at the subcommand stage, then services/groups after.

Additionally, if it doesn't cause autocomplete lag, edward stop should only autocomplete running services.

Might have a go at it later.

theothertomelliott commented 7 years ago

Please do.

Note that I migrated Edward to cobra (https://github.com/spf13/cobra) a couple months ago, which doesn't handle autocomplete in the same way that cmd did, so the current implementation is a little hacky.