You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Kinda, but this would be useful to implement it properly. Basically CLI-Console uses HighLine for all input handling and it uses Readline for history and completion support.
So basically if you add require 'readline' before require 'highline' then you can add history to Readline::HISTORY
eg.
Readline::HISTORY << "some_command"
But this is not pretty and more like a hack, because you assume things about internal working that Readline is used. I think proper way would be to implement it in HighLine that you can change history there and then in CLI-Console would use that interface.
I don't really have time for this now, so I would really appreciate if you could contribute it to HighLine and then here :)
I'm a beginning rubyist, but if I have the time and opportunity, I'll see if I could find the time and patience to read up and make a contribution to highline. In the meantime, thank you so very much for your speedy and helpful response. I've really enjoyed using CLI-Console :)
Is there a way to read in command history from a logfile or simply an array on startup?
The text was updated successfully, but these errors were encountered: