We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b488aab commit afb2a3dCopy full SHA for afb2a3d
clap_complete/src/generator/mod.rs
@@ -14,6 +14,10 @@ use clap::App;
14
pub trait Generator {
15
/// Returns the file name that is created when this generator is called during compile time.
16
///
17
+ /// # Panics
18
+ ///
19
+ /// May panic when called outside of the context of [`generate`] or [`generate_to`]
20
21
/// # Examples
22
23
/// ```
@@ -34,6 +38,10 @@ pub trait Generator {
34
38
35
39
/// Generates output out of [`clap::App`](App).
36
40
41
42
43
44
37
45
46
47
/// The following example generator displays the [`clap::App`](App)
0 commit comments