Daniele Pallastrelli

Results 53 comments of Daniele Pallastrelli

Some idea to explore in the future: - integrate ssh protocol using an open-source library. This poses some problem mainly due to the cli async nature - add a simple...

> to integrate complete to localsession @EFS86340 , I can't understand this. Do you mean using the class `CliLocalSession` in the example `complete`? Or merging someway the two examples `simplelocalsession`...

> By integrate complete to localsession, I mean that now the example simplelocalsession doesn't support complete functionality, so how about locally support completion without the help of telnet server (by...

> If I commented the CliTelnetServer in complete.cpp example, the complete won't work :( You need to give some work to `boost::asio::io_context` to avoid the line `ios.run()` exit immediately: #ifdef...

Thank you very much, @DBJDBJ As I explained on reddit, unfortunately I need to keep the library C++14, because many projects already using "cli" are stuck with old C++14 compilers....

Do you mean adding some sort of identifier of the session in the handlers to store in the application session related information?

@jhndnnqsc right, it seems a quite reasonable use case. I'll add this feature in the roadmap. Thank you very much.

Thank you @rezaebrh . You're right: the system should definitely discriminate against the two cases and print different error messages. Indeed, the library should provide also customizable messages (e.g., for...

Thank you for your fix, @rezaebrh ! I'm planning to check your PR on Monday. As for the custom error message, it requires a little thinking about the overall library...

Well, actually having an error message specific is a task almost impossible, because you can have the same command name with different parameter (different parameter number and different parameter types)....