mirror of
https://github.com/nushell/nushell.git
synced 2025-05-19 01:10:48 +02:00
# Description House keeping. Restructures polars modules as discussed in: https://docs.google.com/spreadsheets/d/1gyA58i_yTXKCJ5DbO_RxBNAlK6S7C1M22ppKwVLZltc/edit?usp=sharing
16 lines
329 B
Rust
16 lines
329 B
Rust
use nu_protocol::{ShellError, Span};
|
|
|
|
pub mod command;
|
|
mod utils;
|
|
pub mod values;
|
|
|
|
pub fn missing_flag_error(flag: &str, span: Span) -> ShellError {
|
|
ShellError::GenericError {
|
|
error: format!("Missing flag: {flag}"),
|
|
msg: "".into(),
|
|
span: Some(span),
|
|
help: None,
|
|
inner: vec![],
|
|
}
|
|
}
|