forked from extern/nushell
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
|
||
|
```
|
||
|
|