2019-10-13 06:12:43 +02:00
|
|
|
#![recursion_limit = "1024"]
|
2019-07-03 22:31:15 +02:00
|
|
|
|
2019-10-18 14:08:04 +02:00
|
|
|
#[cfg(test)]
|
|
|
|
#[macro_use]
|
|
|
|
extern crate indexmap;
|
|
|
|
|
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;
|
2019-09-05 18:23:42 +02:00
|
|
|
mod data;
|
2019-06-27 06:56:48 +02:00
|
|
|
mod env;
|
|
|
|
mod errors;
|
|
|
|
mod evaluate;
|
|
|
|
mod format;
|
|
|
|
mod git;
|
|
|
|
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-24 00:22:11 +02:00
|
|
|
mod traits;
|
2019-07-24 06:10:48 +02:00
|
|
|
mod utils;
|
2019-06-27 06:56:48 +02:00
|
|
|
|
2019-07-20 04:27:10 +02:00
|
|
|
pub use crate::commands::command::{CallInfo, ReturnSuccess, ReturnValue};
|
2019-07-04 07:11:56 +02:00
|
|
|
pub use crate::env::host::BasicHost;
|
2019-11-21 15:33:14 +01:00
|
|
|
pub use crate::parser::hir::path::{ColumnPath, PathMember, UnspannedPathMember};
|
2019-09-14 18:30:24 +02:00
|
|
|
pub use crate::parser::hir::SyntaxShape;
|
2019-09-02 08:11:05 +02:00
|
|
|
pub use crate::parser::parse::token_tree_builder::TokenTreeBuilder;
|
2019-07-02 09:56:20 +02:00
|
|
|
pub use crate::plugin::{serve_plugin, Plugin};
|
2019-11-21 15:33:14 +01:00
|
|
|
pub use crate::traits::{ShellTypeName, SpannedTypeName};
|
2019-10-30 23:46:40 +01:00
|
|
|
pub use crate::utils::{did_you_mean, AbsoluteFile, AbsolutePath, RelativePath};
|
2019-06-27 06:56:48 +02:00
|
|
|
pub use cli::cli;
|
2019-11-21 15:33:14 +01:00
|
|
|
pub use data::base::{Primitive, UntaggedValue, Value};
|
2019-09-11 16:36:50 +02:00
|
|
|
pub use data::config::{config_path, APP_INFO};
|
2019-11-17 04:18:41 +01:00
|
|
|
pub use data::dict::{Dictionary, TaggedDictBuilder, TaggedListBuilder};
|
2019-09-01 18:20:31 +02:00
|
|
|
pub use errors::{CoerceInto, ShellError};
|
2019-08-30 19:29:04 +02:00
|
|
|
pub use num_traits::cast::ToPrimitive;
|
2019-08-02 21:15:07 +02:00
|
|
|
pub use parser::registry::{EvaluatedArgs, NamedType, PositionalType, Signature};
|