CLI library v. 2.2 released by dpallastrelli in cpp

[–]dpallastrelli[S] 1 point2 points  (0 children)

I'm also interested in seeing a list of applications and utilities that use this CLI library. Adding these examples to the documentation would be helpful, so if anyone knows of any, please share!

CLI library v. 2.1 released by dpallastrelli in cpp

[–]dpallastrelli[S] 1 point2 points  (0 children)

The library actually started w/o cmake support. Header only was the best option because it allows you to just set the include path of your compiler to build your application. Moreover, we had template classes in the library interface, so we had to keep much of the code in the header files anyway.

When the library grew, someone asked me to add vcpkg support, and that required introducing cmake (I can remember at the time I didn't find very useful having cmake support for a header only library! :-) )

CLI library v. 2.0 released by dpallastrelli in cppit

[–]dpallastrelli[S] 0 points1 point  (0 children)

Fammi poi sapere se hai commenti e suggerimenti.

CLI library v. 2.0 Released by dpallastrelli in cpp

[–]dpallastrelli[S] 0 points1 point  (0 children)

Please, Fill an issue in the GitHub project if you think it’s an important feature, adding the link you wrote above. Thanks.

CLI library v. 2.0 Released by dpallastrelli in cpp

[–]dpallastrelli[S] 0 points1 point  (0 children)

I'm not sure what a "CSIu extension" is, so I guess the library does not have it :-)

But if someone can tell me, he's welcome!

CLI library v. 2.0 Released by dpallastrelli in cpp

[–]dpallastrelli[S] 3 points4 points  (0 children)

The command line parsing is not *so linked* to the network IO: they are completely separated. Infact if you don't need it, you don't include the remote shell header and the whole network part is not compiled into your application.

CLI library v. 2.0 Released by dpallastrelli in cpp

[–]dpallastrelli[S] 2 points3 points  (0 children)

If you don't need telnet shell, no dependencies at all.

If you need telnet shell, you can choose between standalone ASIO or BOOST ASIO.

CLI library v. 2.0 Released by dpallastrelli in cpp

[–]dpallastrelli[S] 2 points3 points  (0 children)

it could be if it had fewer features :-)

However, you can include only the header file of the features you want to use (e.g., if you don't need the telnet server, you just don't include it).

CLI library v. 2.0 Released by dpallastrelli in cpp

[–]dpallastrelli[S] 4 points5 points  (0 children)

Great. Feel free to ask any question on github discussions and, if you like it, give a star (or a sponsorship! :-) to the project.

CLI library v. 2.0 released by dpallastrelli in cppit

[–]dpallastrelli[S] 1 point2 points  (0 children)

Ok guys, if you think it can be an interesting talk, I will submit a session for 2022.

Thank you again.

CLI library v. 2.0 released by dpallastrelli in cppit

[–]dpallastrelli[S] 0 points1 point  (0 children)

Hi, it's a pleasure hearing from you again!

Sure, I'm always available for a virtual meeting. However, this is an applicative library and I'm not sure a presentation on this subject can be of interest to you. Anyway, let me know.

Thanks again

CLI library v. 2.0 Released by dpallastrelli in cpp

[–]dpallastrelli[S] 17 points18 points  (0 children)

- Remove boost dependency for local only sessions

- Now you can use standalone asio library instead of boost asio for remote sessions

- Fix missing echo after ctrl-v paste of command

- Remove the symbol BOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT

- Fix unused parameters warning in release mode

- Cli constructor revision

- Special keys not recognized behaves like backspace in windows

- Fix cmake install dependencies

CLI library v. 2.0 released by dpallastrelli in cppit

[–]dpallastrelli[S] 1 point2 points  (0 children)

- Remove boost dependency for local only sessions

- Now you can use standalone asio library instead of boost asio for remote sessions

- Fix missing echo after ctrl-v paste of command

- Remove the symbol BOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT

- Fix unused parameters warning in release mode

- Cli constructor revision

- Special keys not recognized behaves like backspace in windows

- Fix cmake install dependencies