Open markfink opened 7 years ago
Python inquirer is not a rewrite for everything in inquirer.js, but accomplish the same idea.
If I've understood it correctly, the separator is just a string to be used between questions, haven't I?
Not sure what is this about, hence I am closing this issue.
Feel free to reopen with more details on what is the issue or what kind of feature this should be.
Necromancer level 15
I stumbled upon this by searching for it too. I'm moving away from py-inquirer as it's broken with python 3.10 and won't be updated and your project looks fresher and and and...
Separators were
inquirer.List(
name = 'mainMenu',
message = 'What would you like to do now?',
choices = [
'Discover devices on network',
'Connect to a device',
#Separator(),
'Prepare your SD card',
'Change device\'s password',
'Set device\'s name',
'Install your sound device',
'Sound test',
'Install Alice',
#Separator(),
'Start Alice',
'Restart Alice',
'Stop Alice',
'Enable Alice service',
'Disable Alice service',
#Separator(),
'Update Alice',
'Update system',
'Upgrade system',
'Reboot device',
'Uninstall your sound device',
'Enable bug report for next session',
'Check Alice logs',
'Check system logs',
'Exit'
]
)
This was producing the following:
❯ Discover devices on network
Connect to a device
---------------
Prepare your SD card
Change device's password
Set device's name
Install your sound device
Sound test
Install Alice
---------------
Start Alice
Restart Alice
Stop Alice
Enable Alice service
Disable Alice service
---------------
Update Alice
Update system
Upgrade system
Reboot device
Uninstall your sound device
Enable bug report for next session
Check Alice logs
Check system logs
Exit
So the Separators are, in this case, in list group separation
please reopen, separator is super important for usability.
I am going to reopen this to see how much this is requested, please leave your support for this feature if you want it.
also here are the relevant docs: https://www.npmjs.com/package/inquirer#separator
Adding wontfix
as I will not be actively working on implementing this
I could not find the separator. Am I doing sth wrong, or missing feature? inquirer.js provides two variants: