Fedora-Hyprland icon indicating copy to clipboard operation
Fedora-Hyprland copied to clipboard

[Feature Request]: Add arguments to install script to bypass prompts

Open Coelhomatias opened this issue 9 months ago • 3 comments

Feature Request

Description

It would be awesome if the script accepted arguments so that the options could be selected without going through the prompts. This would be beneficial when using with ansible for example.

Coelhomatias avatar May 06 '24 14:05 Coelhomatias

but that one of the feature, so users can choose what they want to install....

but Ill see if I can use the preset.sh that was on my Arch-Hyprland project

JaKooLit avatar May 06 '24 16:05 JaKooLit

I don't think you understood me right. I was suggesting something along the lines of running the script with optional arguments, however, whichever option is not answered by the arguments, the user should be prompt. So if running the script with maybe instal.sh --nvidia --bluetooth would assume yes for the nvidia and bluetooth questions but still prompt the user about the remaining questions.

Coelhomatias avatar May 06 '24 18:05 Coelhomatias

oh gotcha.. its a good idea.

JaKooLit avatar May 06 '24 23:05 JaKooLit

I would do it the other way around. Assume "Yes" and only pass parameters for the "no"

By the way, is this script v2 or v3? If v2, how to upgrade to v3? Thanks.

bmentink avatar Jun 27 '24 20:06 bmentink

no plan.. I dont have time

JaKooLit avatar Jul 02 '24 11:07 JaKooLit