2019-06-27 06:56:48 +02:00
|
|
|
#![feature(crate_visibility_modifier)]
|
|
|
|
#![feature(in_band_lifetimes)]
|
|
|
|
#![feature(async_await)]
|
|
|
|
#![feature(try_trait)]
|
|
|
|
#![feature(bind_by_move_pattern_guards)]
|
2019-06-29 10:55:42 +02:00
|
|
|
#![feature(box_syntax)]
|
2019-07-03 22:31:15 +02:00
|
|
|
#![feature(type_ascription)]
|
2019-07-20 03:12:04 +02:00
|
|
|
#![feature(option_flattening)]
|
2019-07-03 22:31:15 +02:00
|
|
|
|
|
|
|
#[macro_use]
|
|
|
|
mod prelude;
|
2019-06-27 06:56:48 +02:00
|
|
|
|
|
|
|
mod cli;
|
|
|
|
mod commands;
|
|
|
|
mod context;
|
|
|
|
mod env;
|
|
|
|
mod errors;
|
|
|
|
mod evaluate;
|
|
|
|
mod format;
|
|
|
|
mod git;
|
|
|
|
mod object;
|
|
|
|
mod parser;
|
2019-07-02 09:56:20 +02:00
|
|
|
mod plugin;
|
2019-06-27 06:56:48 +02:00
|
|
|
mod shell;
|
|
|
|
mod stream;
|
|
|
|
|
2019-07-03 22:31:15 +02:00
|
|
|
pub use crate::commands::command::{ReturnSuccess, ReturnValue};
|
2019-07-04 07:11:56 +02:00
|
|
|
pub use crate::env::host::BasicHost;
|
2019-06-29 10:55:42 +02:00
|
|
|
pub use crate::parser::parse::span::SpannedItem;
|
2019-06-27 06:56:48 +02:00
|
|
|
pub use crate::parser::Spanned;
|
2019-07-02 09:56:20 +02:00
|
|
|
pub use crate::plugin::{serve_plugin, Plugin};
|
2019-06-27 06:56:48 +02:00
|
|
|
pub use cli::cli;
|
|
|
|
pub use errors::ShellError;
|
|
|
|
pub use object::base::{Primitive, Value};
|
|
|
|
pub use parser::parse::text::Text;
|
2019-07-03 19:37:09 +02:00
|
|
|
pub use parser::registry::{Args, CommandConfig, NamedType, PositionalType};
|