You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Add cobra command suggestions to command-line parsing #496
When doing commands for ddev we initially decided to stay away from the command alias features that cobra provides due to not wanting to confuse people with multiple aliases for each command. This was done in an effort to keep things simple, and not end up with a bunch of aliases which people would get used to and we'd have to support ad-infinitum.
What you expected to happen:
I just came across the cobra feature for suggestions, which is similar to aliases but merely provides a command suggestion if you use it. We should consider implementing this as we could still give command hints for similar terms (delete, rm, remove, etc.) but push people to use the canonical command, rather than supporting multiple versions of the same command.
Activity
[-]Add command suggestions[/-][+]Add cobra command suggestions to command-line parsing[/+]rfay commentedon May 8, 2019
Cobra automatically provides suggestions, so we've had this for a long time.
docs(apple-container): record the ssh-agent workaround, socktainer#495/…
docs(apple-container): record the ssh-agent workaround, socktainer#495/…
docs(apple-container): record the ssh-agent workaround, socktainer#495/…
docs(apple-container): record the ssh-agent workaround, socktainer#495/…
docs(apple-container): record the ssh-agent workaround, socktainer#495/…
docs(apple-container): record the ssh-agent workaround, socktainer#495/…
docs(apple-container): update HANDOFF for review prep, for ddev#7372 …
docs(apple-container): update HANDOFF for review prep, for ddev#7372 …
docs(apple-container): update HANDOFF for review prep, for ddev#7372 …
docs(apple-container): update HANDOFF for review prep, for ddev#7372 …
docs(apple-container): update HANDOFF for review prep, for ddev#7372 …
fix(apple-container): socktainer 1.6.1, serial builds, for ddev#7372 …
docs(apple-container): update HANDOFF for review prep, for ddev#7372 …
fix(apple-container): socktainer 1.6.1, serial builds, for ddev#7372 …
docs(apple-container): update HANDOFF for review prep, for ddev#7372 …
fix(apple-container): socktainer 1.6.1, serial builds, for ddev#7372 …
docs(apple-container): update HANDOFF for review prep, for ddev#7372 …
fix(apple-container): socktainer 1.6.1, serial builds, for ddev#7372 …
docs(apple-container): update HANDOFF for review prep, for ddev#7372 …
fix(apple-container): socktainer 1.6.1, serial builds, for ddev#7372 …
docs(apple-container): update HANDOFF for review prep, for ddev#7372 …
fix(apple-container): socktainer 1.6.1, serial builds, for ddev#7372 …
docs(apple-container): update HANDOFF for review prep, for ddev#7372 …
fix(apple-container): socktainer 1.6.1, serial builds, for ddev#7372 …
docs(apple-container): update HANDOFF for review prep, for ddev#7372 …
fix(apple-container): socktainer 1.6.1, serial builds, for ddev#7372 …