nushell/src/main.rs

24 lines
377 B
Rust
Raw Normal View History

2019-05-10 18:59:12 +02:00
#![feature(crate_visibility_modifier)]
#![feature(in_band_lifetimes)]
#![feature(async_await)]
2019-05-24 06:34:43 +02:00
#![feature(try_trait)]
2019-05-10 18:59:12 +02:00
2019-05-23 06:30:43 +02:00
mod cli;
2019-05-10 18:59:12 +02:00
mod commands;
2019-05-15 18:12:38 +02:00
mod context;
2019-05-10 18:59:12 +02:00
mod env;
mod errors;
mod format;
mod object;
2019-05-11 06:45:57 +02:00
mod parser;
mod prelude;
2019-05-16 23:43:36 +02:00
mod shell;
2019-05-23 06:30:43 +02:00
mod stream;
2019-05-10 18:59:12 +02:00
use std::error::Error;
fn main() -> Result<(), Box<Error>> {
2019-05-24 06:34:43 +02:00
futures::executor::block_on(crate::cli::cli())?;
Ok(())
2019-05-15 18:12:38 +02:00
}