mirror of
https://github.com/RGBCube/nu_scripts
synced 2025-08-02 23:27:45 +00:00
Fixes scope commands
call and columns (#908)
Hi! Just to more fixes in the queue 😄
This commit is contained in:
parent
ba46538785
commit
d64004f710
1 changed files with 17 additions and 17 deletions
|
@ -1,18 +1,18 @@
|
||||||
let builtin = (scope commands | where is_builtin == true | length)
|
export def main [] {
|
||||||
let subcmd = (scope commands | where is_sub == true | length)
|
let builtin = (scope commands | where type == "built-in" | length)
|
||||||
let plugin = (scope commands | where is_plugin == true | length)
|
let external = (scope commands | where type == "external" | length)
|
||||||
let custom = (scope commands | where is_custom == true | length)
|
let custom = (scope commands | where type == "custom" | length)
|
||||||
let keyword = (scope commands | where is_keyword == true | length)
|
let keyword = (scope commands | where type == "keyword" | length)
|
||||||
let extern = (scope commands | where is_extern == true | length)
|
let plugin = (scope commands | where type == "plugin" | length)
|
||||||
let total = (scope commands | length)
|
let total = (scope commands | length)
|
||||||
|
|
||||||
[
|
[
|
||||||
[command_type count];
|
[command_type count];
|
||||||
[builtin $builtin]
|
[builtin $builtin]
|
||||||
[sub_command $subcmd]
|
[external $external]
|
||||||
[plugin $plugin]
|
|
||||||
[custom $custom]
|
[custom $custom]
|
||||||
[keyword $keyword]
|
[keyword $keyword]
|
||||||
[extern $extern]
|
[plugin $plugin]
|
||||||
[total_cmds $total]
|
[total_cmds $total]
|
||||||
]
|
]
|
||||||
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue