Skip to content

Fix tui set

Arjun Kathuria requested to merge arjun/ghcup-hs:fix-tui-set into master

Addresses #340 (closed)

When a user asks to set a tool that's not installed in TUI, ask user if they want to install it first via a prompt.

TODO:

  • Ask the user to install the tool via prompt when setting an uninstalled version.
  • Make the Prompt pretty. Perhaps use LogInfo instead of Text.putStrLn
  • Clarity on should we auto-set after install OR the user has to press s once again after they see it's successfully installed in the TUI now (current behaviour)
  • include the tool name / version in the prompt perhaps

- [ ] ???

Anything else you could think of to add here @maerwald ?

Edited by Arjun Kathuria

Merge request reports