1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
//! Commands defined once with `#[command]`, from which both their handler and their Command
//! Definition derive, collected with the handlers for components, modals and Views into an App
//! with `#[app]`.
//!
//! ```ignore
//! use composure::{app, command};
//!
//! /// Repeat some text
//! #[command]
//! fn echo(
//! #[option("What to say", max_len = 200)] text: &str,
//! #[option("How many times", min = 1, max = 5)] times: Option<u8>,
//! ) -> String {
//! text.repeat(times.unwrap_or(1).into())
//! }
//!
//! #[app(handlers(echo))]
//! pub struct Bot;
//! ```
pub use *;
pub use *;
pub use *;
pub use *;
pub use *;
pub use *;
pub use *;
pub use *;
pub use *;
pub use *;
pub use *;
pub use *;
pub use *;
pub use *;
pub use *;