mirror of
https://github.com/nushell/nushell.git
synced 2025-06-30 22:50:14 +02:00
deprecated commands (#4405)
* deprecated commands * deprecated insert command
This commit is contained in:
@ -52,6 +52,7 @@ pub enum Category {
|
||||
Hash,
|
||||
Generators,
|
||||
Custom(String),
|
||||
Deprecated,
|
||||
}
|
||||
|
||||
impl std::fmt::Display for Category {
|
||||
@ -77,6 +78,7 @@ impl std::fmt::Display for Category {
|
||||
Category::Hash => "hash",
|
||||
Category::Generators => "generators",
|
||||
Category::Custom(name) => name,
|
||||
Category::Deprecated => "deprecated",
|
||||
};
|
||||
|
||||
write!(f, "{}", msg)
|
||||
|
Reference in New Issue
Block a user