mirror of
https://github.com/nushell/nushell.git
synced 2025-08-12 14:18:20 +02:00
Auto-generate markdown command docs (#4451)
* Finish updating * a couple improvements * Update renames * cleanup examples
This commit is contained in:
28
docs/commands/path_split.md
Normal file
28
docs/commands/path_split.md
Normal file
@ -0,0 +1,28 @@
|
||||
---
|
||||
title: path split
|
||||
layout: command
|
||||
version: 0.59.0
|
||||
---
|
||||
|
||||
Split a path into parts by a separator.
|
||||
|
||||
## Signature
|
||||
|
||||
```> path split --columns```
|
||||
|
||||
## Parameters
|
||||
|
||||
- `--columns {table}`: Optionally operate by column path
|
||||
|
||||
## Examples
|
||||
|
||||
Split a path into parts
|
||||
```shell
|
||||
> '/home/viking/spam.txt' | path split
|
||||
```
|
||||
|
||||
Split all paths under the 'name' column
|
||||
```shell
|
||||
> ls ('.' | path expand) | path split -c [ name ]
|
||||
```
|
||||
|
Reference in New Issue
Block a user