Skip to content
Docsgr completion

Command line

gr completion

Generate the autocompletion script for the specified shell

From the help of gr 0.2.16. gr help completion prints it in full.

Generate the autocompletion script for gr for the specified shell. See each sub-command's help for details on how to use the generated script.

gr completion [command]

gr completion bash

Generate the autocompletion script for bash

Generate the autocompletion script for the bash shell.

gr completion bash
FlagWhat it does
--no-descriptionsdisable completion descriptions

gr completion fish

Generate the autocompletion script for fish

Generate the autocompletion script for the fish shell.

gr completion fish [flags]
FlagWhat it does
--no-descriptionsdisable completion descriptions

gr completion powershell

Generate the autocompletion script for powershell

gr completion powershell [flags]
FlagWhat it does
--no-descriptionsdisable completion descriptions

gr completion zsh

Generate the autocompletion script for zsh

Generate the autocompletion script for the zsh shell.

gr completion zsh [flags]
FlagWhat it does
--no-descriptionsdisable completion descriptions

Every command also takes --root <folder>, the project to act on. Without it, gr uses the git repository you are in, or else the current folder.

These docs describe Graphide 0.2.16, the latest release. Something wrong or missing? Tell us onDiscord or at hello@graphide.com.