use std::io::Result; use nu_ansi_term::Style; use nu_color_config::lookup_ansi_color_style; use nu_protocol::{ engine::{EngineState, Stack}, Value, }; use crate::{ nu_common::collect_input, views::{Orientation, RecordView}, }; use super::{ default_color_list, default_int_list, ConfigOption, HelpExample, HelpManual, Shortcode, ViewCommand, }; #[derive(Debug, Default, Clone)] pub struct TableCmd { // todo: add arguments to override config right from CMD settings: TableSettings, } #[derive(Debug, Default, Clone)] struct TableSettings { orientation: Option, line_head_top: Option, line_head_bottom: Option, line_shift: Option, line_index: Option, split_line_s: Option