shitbox/pkg/usr/share/nu/completions/base64.nu

22 lines
677 B
Plaintext

module completions {
def "nu-complete base64 color" [] {
[ "always" "ansi" "auto" "never" ]
}
# Base64 encode/decode data and print to standard output
export extern base64 [
...file: string
--decode(-d) # Decode rather than encode
--ignore-space(-i) # Ignore whitespace when decoding
--wrap(-w): string # Wrap encoded lines after n characters
--color(-c): string@"nu-complete base64 color"
--verbose(-v) # output a diagnostic for every file processed
--quiet(-q) # Do not display header, even with multiple files
--help(-h) # Print help
]
}
use completions *