hasura / hasura/graphql-engine

Add powershell 7 support to hasura completion

Open
#7,668 1 comment 0 reactions 0 assignees View on GitHub
k/enhancement
Dominant language
TypeScript
Stars
32.1k
Forks
3k
PR merge metrics
PR metrics pending

Description

Hasura completion currently supports bash and zsh.

Tab completion is now possible in powershell, with `Set-PSReadlineKeyHandler -Key Tab -Function MenuComplete`

There is also the [Register-ArgumentCompleter](https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.core/register-argumentcompleter?view=powershell-7.1) cmdlet which could be used to implement this.

Hasura's completion should include this shell.

Contributor guide

Open the contributing guide

Research direction

Start by locating Hasura's existing bash and zsh completion entry points and compare how they expose command arguments. Review PowerShell's Register-ArgumentCompleter and Set-PSReadlineKeyHandler documentation before choosing an integration path. Done means Hasura completion is available in PowerShell 7 alongside the existing shell support.

Written by the indexing model from the issue text.

Assessment

Tech stack
powershell
Domain
cli
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.