18 lines
434 B
Plaintext
18 lines
434 B
Plaintext
module completions {
|
|
|
|
def "nu-complete rev color" [] {
|
|
[ "always" "ansi" "auto" "never" ]
|
|
}
|
|
|
|
# reverse lines characterwise
|
|
export extern rev [
|
|
--verbose(-v) # Each file is preceded by a header consisting of the string "==> XXX <==" where "XXX" is the name of the file.
|
|
--color(-c): string@"nu-complete rev color"
|
|
...file: string
|
|
--help(-h) # Print help
|
|
]
|
|
|
|
}
|
|
|
|
use completions *
|