1
Fork 0
mirror of https://github.com/RGBCube/nu_scripts synced 2025-07-31 14:17:45 +00:00

fix: use proper path type for path argument for bat (#921)

Use of `string` disable `~` expansion

Signed-off-by: OJarrisonn <j.h.m.t.v.10@gmail.com>
This commit is contained in:
OJarrisonn_ 2024-07-27 16:05:48 -03:00 committed by GitHub
parent 6bbd75120d
commit 0b487e8380
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,6 +1,6 @@
# A cat(1) clone with syntax highlighting and Git integration
export extern "bat" [
file?: string # file to print / concatenate. Use `-` to read from stdin
...file: path # file to print / concatenate
--help # Print help (see a summary with '-h')
-h # Print help (see more with '--help')
--version # Print version