mirror of
https://github.com/nushell/nushell.git
synced 2025-07-02 23:51:49 +02:00
Add internal clear command (#1249)
* Add clear.rs * update * update * cross-platformify * update * fix * format * fix warnings * update implementation * remove return * remove semicolon * change from `.output()` to `.status()` * format
This commit is contained in:
committed by
Jonathan Turner
parent
fb977ab941
commit
3b57ee5dda
@ -226,6 +226,7 @@ impl History {
|
||||
}
|
||||
}
|
||||
|
||||
#[allow(dead_code)]
|
||||
fn create_default_starship_config() -> Option<toml::Value> {
|
||||
let mut map = toml::value::Table::new();
|
||||
map.insert("add_newline".into(), toml::Value::Boolean(false));
|
||||
@ -265,6 +266,7 @@ pub async fn cli() -> Result<(), Box<dyn Error>> {
|
||||
per_item_command(Mkdir),
|
||||
per_item_command(Move),
|
||||
whole_stream_command(Version),
|
||||
whole_stream_command(Clear),
|
||||
whole_stream_command(What),
|
||||
whole_stream_command(Which),
|
||||
whole_stream_command(Debug),
|
||||
|
Reference in New Issue
Block a user