Expand description
This crate contains the majority of our commands
We allow ourselves to move some of the commands in nu-command to nu-cmd-* crates as needed.
§Internal Nushell crate
This crate implements components of Nushell and is not designed to support plugin authors or other users directly.
Modules§
Structs§
- All
 - Ansi
 - Ansi
Link  - Ansi
Strip  - Any
 - Append
 - Ast
 - Bytes
 - Bytes
Add  - BytesAt
 - Bytes
Build  - Bytes
Collect  - Bytes
Ends With  - Bytes
Index Of  - Bytes
Len  - Bytes
Remove  - Bytes
Replace  - Bytes
Reverse  - Bytes
Split  - Bytes
Starts With  - Cal
 - Cd
 - Char
 - ChunkBy
 - Chunks
 - Clear
 - Columns
 - Compact
 - Complete
 - Config
Env  - Config
Flatten  - Config
Meta  - Config
Nu  - Config
Reset  - Config
UseColors  - Date
 - Date
Format  - Date
From Human  - Date
Humanize  - Date
List Timezones  - DateNow
 - Date
ToTimezone  - Debug
 - Debug
Env  - Debug
Experimental Options  - Debug
Info  - Debug
Profile  - Decode
 - Decode
Base32  - Decode
Base64  - Decode
Base32 Hex  - Decode
Hex  - Default
 - Detect
 - Detect
Columns  - Detect
Type  - DirBuilder
 - DirInfo
 - Drop
 - Drop
Column  - DropNth
 - Du
 - Each
 - Encode
 - Encode
Base32  - Encode
Base64  - Encode
Base32 Hex  - Encode
Hex  - Enumerate
 - Every
 - Exec
 - Exit
 - Explain
 - Export
Env  - External
 - File
Info  - Fill
 - Filter
 - Find
 - First
 - Flatten
 - Format
 - Format
Date  - Format
Duration  - Format
Filesize  - From
 - FromCsv
 - From
Json  - From
Msgpack  - From
Msgpackz  - From
Nuon  - FromOds
 - FromSsv
 - From
Toml  - FromTsv
 - From
Xlsx  - FromXml
 - From
Yaml  - FromYml
 - Generate
 - Get
 - Glob
 - Griddle
 - GroupBy
 - Hash
 - Headers
 - Help
 - Help
Aliases  - Help
Commands  - Help
Escapes  - Help
Externs  - Help
Modules  - Help
Operators  - Help
Pipe AndRedirect  - Histogram
 - Http
 - Http
Delete  - HttpGet
 - Http
Head  - Http
Options  - Http
Patch  - Http
Post  - HttpPut
 - Input
 - Input
List  - Input
Listen  - Insert
 - Inspect
 - Interleave
 - Into
 - Into
Binary  - Into
Bool  - Into
Cell Path  - Into
Datetime  - Into
Duration  - Into
Filesize  - Into
Float  - Into
Glob  - IntoInt
 - Into
Record  - Into
String  - Into
Value  - IsAdmin
 - IsEmpty
 - IsNot
Empty  - IsTerminal
 - Item
Mapper State  - Items
 - Job
 - JobFlush
 - JobId
 - JobKill
 - JobList
 - JobRecv
 - JobSend
 - JobSpawn
 - JobTag
 - JobUnfreeze
 - Join
 - Kill
 - Last
 - Length
 - LetEnv
 - Lines
 - LoadEnv
 - Ls
 - Math
 - MathAbs
 - MathAvg
 - Math
Ceil  - Math
Floor  - MathLog
 - MathMax
 - Math
Median  - MathMin
 - Math
Mode  - Math
Product  - Math
Round  - Math
Sqrt  - Math
Stddev  - MathSum
 - Math
Variance  - Merge
 - Merge
Deep  - Metadata
 - Metadata
Access  - Metadata
Set  - Mktemp
 - Move
 - NuCheck
 - Open
 - Panic
 - ParEach
 - Parse
 - Path
 - Path
Basename  - Path
Dirname  - Path
Exists  - Path
Expand  - Path
Join  - Path
Parse  - Path
Relative To  - Path
Self  - Path
Split  - Path
Type  - Port
 - Prepend
 - Ps
 - Random
 - Random
Binary  - Random
Bool  - Random
Chars  - Random
Dice  - Random
Float  - Random
Int  - Random
Uuid  - Reduce
 - Reject
 - Rename
 - Reverse
 - Rm
 - Save
 - Select
 - Seq
 - SeqChar
 - SeqDate
 - Shuffle
 - Skip
 - Skip
Until  - Skip
While  - Sleep
 - Slice
 - Sort
 - SortBy
 - Source
 - Source a file for environment variables.
 - Source
Env  - Source a file for environment variables.
 - Split
 - Split
Cell Path  - Split
Chars  - Split
Column  - Split
List  - Split
Row  - Split
Words  - Start
 - Str
 - StrCapitalize
 - StrContains
 - StrDistance
 - StrDowncase
 - StrEndswith
 - StrExpand
 - StrIndex
Of  - StrJoin
 - StrLength
 - StrReplace
 - StrReverse
 - StrStarts
With  - StrStats
 - StrSubstring
 - StrTrim
 - StrUpcase
 - Sys
 - SysCpu
 - SysDisks
 - SysHost
 - SysMem
 - SysNet
 - SysTemp
 - SysUsers
 - Table
 - Take
 - Take
Until  - Take
While  - Tee
 - Term
 - Term
Query  - Term
Size  - TimeIt
 - To
 - ToCsv
 - ToJson
 - ToMd
 - ToMsgpack
 - ToMsgpackz
 - ToNuon
 - ToText
 - ToToml
 - ToTsv
 - ToXml
 - ToYaml
 - ToYml
 - Transpose
 - Tutor
 - UCp
 - ULimit
 - UMkdir
 - UMv
 - UName
 - UTouch
 - Uniq
 - UniqBy
 - Update
 - Upsert
 - Url
 - UrlBuild
Query  - UrlDecode
 - UrlEncode
 - UrlJoin
 - UrlParse
 - UrlSplit
Query  - Value
Counter  - Values
 - Version
Check  - View
 - View
Blocks  - View
Files  - ViewIr
 - View
Source  - View
Span  - Watch
 - Where
 - Which
 - Whoami
 - Window
 - WithEnv
 - Wrap
 - Zip
 
Enums§
- Comparator
 - A specification of sort order for 
sort_by. 
Functions§
- add_
shell_ command_ context  - build_
table  - command_
not_ found  - Returns a helpful error message given an invalid command name,
 - compare_
by  - compare_
cell_ path  - compare_
custom_ closure  - compare_
key_ closure  - compare_
strings  - compare_
values  - empty
 - eval_
external_ arguments  - Evaluate all arguments, performing expansions when necessary.
 - find_
columns  - find_
internal  - function for using find from other commands
 - grapheme_
flags  - grapheme_
flags_ const  - operate
 - removed_
commands  - Return map of <removed_command_name, new_command_name>
This covers simple removed commands nicely, but it’s not great for deprecating
subcommands like 
foo barwherefoois still a valid command. For those, it’s currently easiest to have a “stub” command that just returns an error. - sort
 - Sort a slice of 
Values. - sort_by
 - Sort a slice of 
Values by criteria specified by one or multipleComparators. - sort_
record  - Sort a record’s key-value pairs.
 - uniq
 - which
 - Searches for the absolute path of an executable by name. 
.batand.cmdfiles are recognized as executables on Windows.