3 ms·
For that specific example, I might think about a script which asks interactive questions. Do you want to do the kernel build? [Y/n] _ Which diskfile to us
by kazinator 3y ago
For that specific example, I might think about a script which asks interactive questions.
Do you want to do the kernel build? [Y/n] _
Which diskfile to use: /path/to/diskfile_ # pre-stuffed editable input
Or else well-documented command line options, nicely explained with --help.
- gverrilla 3y agoI'm an apprentice programmer. I also like interactive programs. I use the library questionary[0] in Python, and ChatGPT is great at providing the necessary code in no time. 0: https://pypi.org/project/questionary/ https://pypi.org/project/questionary/