withfig / autocomplete

IDE-style autocomplete for your existing terminal & shell

Home Page:https://fig.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[GT] Request for graphite completion spec

ubuntudroid opened this issue · comments

Sanity checks

  • My issue relates to a specific CLI completion spec (e.g. git checkout is missing options in git completion spec). If your issue is more general, please create your issue here: withfig/fig
  • I have searched github.com/withfig/autocomplete/issues and there are no duplicates of my issue
  • I would like to work on this.

What CLI tool does this relate to?

gt

Which statement makes the most sense?

This completion spec does not exist

Issue Details

Graphite is a popular git stacking CLI. It would be great to have a completion spec in fig as well.

Commands and docs can be found here: https://docs.graphite.dev/guides/graphite-cli/cli-command-reference

Additional command shortcuts are documented here: https://docs.graphite.dev/guides/graphite-cli/command-shortcuts

Commands unknown to gt are passed through to git.

gt completion already generates a completion script which might or might not be a good starting point (not sure how fig works internally).