mirror of
https://github.com/nushell/nushell.git
synced 2024-12-28 09:59:36 +01:00
21 lines
323 B
Markdown
21 lines
323 B
Markdown
|
# path type
|
||
|
Get the type of the object a path refers to (e.g., file, dir, symlink)
|
||
|
|
||
|
## Usage
|
||
|
```shell
|
||
|
> path type ...args {flags}
|
||
|
```
|
||
|
|
||
|
## Parameters
|
||
|
* ...args: Optionally operate by column path
|
||
|
|
||
|
## Flags
|
||
|
* -h, --help: Display this help message
|
||
|
|
||
|
## Examples
|
||
|
Show type of a filepath
|
||
|
```shell
|
||
|
> echo '.' | path type
|
||
|
```
|
||
|
|