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
{{ message }}
Repository navigation
fn processor not exported publicly even though enum might be #23
Hi there! First of all thank you very much for this awesome crate!!
I'm working on a project where the use case of this crate is to have one crate host the CLI definition, which gets used in a different binary crate. With this repo's main branch, we get errors like:
error[E0624]: associated function `processor` is private
--> examples/desktop-visibility/src/main.rs:8:27
|
8 | &mutBaseCommand::processor(|_h, _c| match _c {
| ^^^^^^^^^ private associated function
|
::: /home/marko/git/embedded-cli-rs/examples/desktop-visibility/cli/src/lib.rs:3:17
|
3 | #[derive(Debug,Command)]
| ------- private associated function defined here
For more information about this error, try `rustc --explain E0624`.
error: could not compile `desktop-visibility` (bin "desktop-visibility") due to 1 previous error
Activity
funbiscuit commentedon Mar 22, 2026
Hi! Thanks for detailed explanation and repro. Merged your PR, closing the issue