gelx_cli 0.8.5

Generate fully typed rust code from your gel schema and inline queries.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#![doc(html_logo_url = "https://raw.githubusercontent.com/ifiokjr/gelx/main/setup/assets/logo.png")]

use gelx_cli::Cli;
use gelx_cli::prelude::*;
use gelx_core::GelxCoreResult;

#[tokio::main]
async fn main() -> GelxCoreResult<()> {
	let cli = Cli::parse();

	match cli.run().await {
		Ok(()) => std::process::exit(0),
		Err(err) => {
			eprintln!("{err}");
			std::process::exit(1)
		}
	}
}