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
//! # vika-cli
//!
//! A production-grade Rust CLI tool that generates TypeScript typings, Zod schemas,
//! and Fetch-based API clients from Swagger/OpenAPI specifications.
//!
//! ## Example
//!
//! ```no_run
//! use vika_cli::Config;
//!
//! // Load configuration
//! let config = vika_cli::config::loader::load_config().unwrap();
//! ```
/// Main configuration structure for vika-cli.
///
/// This struct represents the `.vika.json` configuration file.
///
/// # Example
///
/// ```no_run
/// use vika_cli::Config;
///
/// let config = vika_cli::config::loader::load_config().unwrap();
/// println!("Root directory: {}", config.root_dir);
/// ```
pub use Config;
/// Result type alias for vika-cli operations.
pub type Result<T> = Result;
/// Main error type for vika-cli.
///
/// All errors in vika-cli are wrapped in this enum, which provides
/// structured error handling with context.
pub use VikaError;