switch to interactive mode from cli #159
-
Hi, Daniele
user input inside UploadToDevice function should not be written to history, but user should see their input in terminal |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Unfortunately, I think it's not possible to mix up CLI with other functions that wait for user input. |
Beta Was this translation helpful? Give feedback.
Unfortunately, I think it's not possible to mix up CLI with other functions that wait for user input.
You can try by using
CliFileSession
instead ofCliLocalSession
(see examplesimplelocalsession.cpp
): in that way you don't get advanced features of cli (e.g., history and autocompletion), but maybe you can integrate your function easily.