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
56
57
58
59
60
61
62
//! Typstify CLI Library
//!
//! This library provides the core functionality for the Typstify static site generator CLI.
//! It is designed to be used by the binary entry point while also exposing
//! public APIs for documentation and integration purposes.
//!
//! # Modules
//!
//! - [`cmd`] - Command implementations (build, watch, new, check)
//! - [`server`] - Embedded development server with live reload
//!
//! # Example
//!
//! ```no_run
//! use std::path::Path;
//!
//! use typstify::cmd;
//!
//! // Build a static site
//! cmd::build::run(
//! Path::new("config.toml"),
//! Path::new("public"),
//! false,
//! None,
//! None,
//! )
//! .unwrap();
//! ```
// Re-export core types for convenience
pub use ;
pub use ;
/// Initialize tracing with the specified verbosity level.
///
/// # Arguments
///
/// * `verbose` - Verbosity level (0 = WARN, 1 = INFO, 2 = DEBUG, 3+ = TRACE)
///
/// # Example
///
/// ```no_run
/// typstify::init_tracing(2); // Enable DEBUG level logging
/// ```