Page MenuHomePhabricator

Add tab completion to path entry during mediawiki setup wizard
Closed, ResolvedPublic

Description

Right now you just get to type text, some sort of completion would be nice...

image.png (321×1 px, 109 KB)

In code the question is asked here https://gitlab.wikimedia.org/repos/releng/cli/-/blob/3440a732b28fc53b96ad754628c360374ef030aa/internal/cmd/docker/mediawiki.go#L45-54

This makes use of the following go package https://github.com/AlecAivazis/survey

It looks like some sort of completion is available for suggestions that could work https://github.com/AlecAivazis/survey#suggestion-options


Contribution guide...

The code repository is on the Wikimedia gitlab instance https://gitlab.wikimedia.org/repos/releng/cli and is written in GO
Documentation for mwcli is at https://www.mediawiki.org/wiki/Cli (This includes an installation guide, and first setup guide for the dev environment).
If you want to pick up this task please ask @Addshore to be added to the project first. This way you will be able to create a branch on the repository and have CI run.