We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e46263a commit 3c69aaaCopy full SHA for 3c69aaa
clap_complete/src/env/mod.rs
@@ -68,6 +68,11 @@ pub use shells::*;
68
/// - Performance: we don't need to general [`clap::Command`] twice or parse arguments
69
/// - Flexibility: there is no concern over it interfering with other CLI logic
70
///
71
+/// **Warning:** `stdout` should not be written to before [`CompleteEnv::complete`] has had a
72
+/// chance to run.
73
+///
74
+/// # Examples
75
76
/// ```rust
77
/// # use clap_complete::CompleteEnv;
78
/// fn cli() -> clap::Command {
0 commit comments