mirror of
https://github.com/nushell/nushell.git
synced 2025-08-10 01:07:48 +02:00
Auto-generate markdown command docs (#4451)
* Finish updating * a couple improvements * Update renames * cleanup examples
This commit is contained in:
34
docs/commands/path_expand.md
Normal file
34
docs/commands/path_expand.md
Normal file
@ -0,0 +1,34 @@
|
||||
---
|
||||
title: path expand
|
||||
layout: command
|
||||
version: 0.59.0
|
||||
---
|
||||
|
||||
Try to expand a path to its absolute form
|
||||
|
||||
## Signature
|
||||
|
||||
```> path expand --strict --columns```
|
||||
|
||||
## Parameters
|
||||
|
||||
- `--strict`: Throw an error if the path could not be expanded
|
||||
- `--columns {table}`: Optionally operate by column path
|
||||
|
||||
## Examples
|
||||
|
||||
Expand an absolute path
|
||||
```shell
|
||||
> '/home/joe/foo/../bar' | path expand
|
||||
```
|
||||
|
||||
Expand a path in a column
|
||||
```shell
|
||||
> ls | path expand -c [ name ]
|
||||
```
|
||||
|
||||
Expand a relative path
|
||||
```shell
|
||||
> 'foo/../bar' | path expand
|
||||
```
|
||||
|
Reference in New Issue
Block a user