clapi_cli/
lib.rs

1//! # CLAPI - Any API, One Command Away™
2//! 
3//! Coming soon! The revolutionary CLI that turns any API into simple terminal commands.
4//! 
5//! Visit <https://clapi.dev> for updates and early access.
6//! 
7//! ## What is CLAPI?
8//! 
9//! CLAPI eliminates the complexity of API interactions. No more:
10//! - Reading endless documentation
11//! - Wrestling with authentication
12//! - Crafting complex curl commands
13//! 
14//! Just type what you want:
15//! ```bash
16//! clapi github repos
17//! clapi openai chat "Hello world"
18//! clapi stripe customers list
19//! ```
20
21/// Placeholder for the upcoming CLAPI library
22pub fn clapi() -> &'static str {
23    "CLAPI - Coming soon to a terminal near you! Visit https://clapi.dev"
24}
25
26#[cfg(test)]
27mod tests {
28    use super::*;
29
30    #[test]
31    fn it_works() {
32        assert!(clapi().contains("CLAPI"));
33    }
34}