mysh/
lib.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#![feature(associated_type_defaults)]

mod command_arg;
mod command_list;
mod command_metadata;
mod error;
mod run_loop;
mod shell;
mod tokenizer;

pub use mysh_derive::*;

pub use command_arg::{parse_arguments, CommandArg};
pub use command_metadata::CommandMetadata;
pub use error::{Error, Result};
pub use futures;
pub use shell::{DefaultLineReader, PromptText};
pub use shell::{Shell, SubcommandList};

pub mod json {
  pub use serde_json::to_value;
  pub use serde_json::Value;
}