mirror of
https://github.com/nushell/nushell.git
synced 2025-06-30 22:50:14 +02:00
Category option for signature (#343)
* category option for signature * category option for signature * column description for $scope
This commit is contained in:
@ -1,6 +1,6 @@
|
||||
use nu_protocol::ast::Call;
|
||||
use nu_protocol::engine::{Command, EngineState, Stack};
|
||||
use nu_protocol::{PipelineData, ShellError, Signature};
|
||||
use nu_protocol::{Category, PipelineData, ShellError, Signature};
|
||||
|
||||
#[derive(Clone)]
|
||||
pub struct To;
|
||||
@ -15,7 +15,7 @@ impl Command for To {
|
||||
}
|
||||
|
||||
fn signature(&self) -> nu_protocol::Signature {
|
||||
Signature::build("to")
|
||||
Signature::build("to").category(Category::Formats)
|
||||
}
|
||||
|
||||
fn run(
|
||||
|
Reference in New Issue
Block a user