I'm considering using a command line version of a script, rather than creating a GUI, as it'll be a little bit easier for me.
I have a CSV imported, with a list of names, URLs, username and software type - this is in a hash table called "$domains".
I'd like to have a menu where I can check some of the domain names, so that I can perform an action in the next step.
For example, the current CSV output looks like this:
I'd ideally like this list to display with a check box so that I can mark domains for actions, so that it would look a little like this:
i.e. I can scroll down the list with the arrow keys and press space to check certain domains.
Is that something that is possible to do via the command line? I've had a good search, but I can only find GUI examples.
I have a CSV imported, with a list of names, URLs, username and software type - this is in a hash table called "$domains".
I'd like to have a menu where I can check some of the domain names, so that I can perform an action in the next step.
For example, the current CSV output looks like this:
Code:
Site Name URL Username Type
--------- --- -------- ----
Test FTP Site 192.168.1.1 testftp v1
Test FTP Site 2 192.168.1.1 testftp2 v1
Test FTP Site 3 192.168.1.1 testftp3 v2
I'd ideally like this list to display with a check box so that I can mark domains for actions, so that it would look a little like this:
Code:
Site Name URL Username Type
--- --------- --- -------- ----
[X] Test FTP Site 192.168.1.1 testftp v1
[X] Test FTP Site 2 192.168.1.1 testftp2 v1
[ ] Test FTP Site 3 192.168.1.1 testftp3 v2
i.e. I can scroll down the list with the arrow keys and press space to check certain domains.
Is that something that is possible to do via the command line? I've had a good search, but I can only find GUI examples.